• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: SCRIPT PHP ADDITION DATES

SCRIPT PHP ADDITION DATES 6 years 7 months ago #38437

Hello,
I would like to make a php script to add two date fields.

I tried this:
$ _ POST [ 'form'] [ 'RESULT'] = $ _ POST [ 'form'] [ 'FIELD1'] + $ _ POST [ 'form'] [ 'FIELD2'];

(FIELD1 is a date field
FIELD2 is a number of days to be added to FIELD1)

But the result returns a digit instead of a date.
Can you help me make a script that gives a date in RESULT.

thanks a lot for your help
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!