• 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: Date format

Date format 12 years 4 months ago #20334

  • NeaMatt
  • NeaMatt's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
Hello,

How do i format my date as follows

day month year

25/December/2012
The administrator has disabled public write access.

Date format 12 years 4 months ago #20339

Hi,
If you are talking about the Calendar component, check out the following:
www.rsjoomla.com/support/documentation/v...e/57-components.html
It gives an example of some different date options.

If you are trying to put a date into a text field, use this code: (Put this in the Default Value box)

//<code>
$today = date("F j, Y");
return $today;
//</code>

Change the "F j, Y" codes to the PHP codes that give you the format you are looking for. If you don't know PHP, then check this page out. www.w3schools.com/php/func_date_date.asp

K
The administrator has disabled public write access.
The following user(s) said Thank You: NeaMatt
  • 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!