By: Andy Ingham
Date: 2011-10-20
Time: 11:20
|
Usage of Date-Time format?
Hi All,
With regard to Date-Time format, the manual gives an example of:
[fld;frm=mm/dd/yyyy] will display 12/21/2002
...but it doesn't make any mention of what value/format 'fld' actually contains to give this result!!! Earlier in the paragraph it mentions '...for a data item which type is date/time', but again doesn't actually mention what TBS considers to be date/time format!
Can someone please let me know what format the field should be in to be considered as date/time and therefore formattable using dd/mm/yyyy, etc.?
Many thanks,
Andy
|
By: Skrol29
Date: 2011-10-20
Time: 20:22
|
Re: Usage of Date-Time format?
Hi,
It should be a PHP timestamps, or a string recognized by strtotime(). ISO date representation such as '2011-10-20' is recognized.
|
By: Andy Ingham
Date: 2011-10-21
Time: 11:57
|
Re: Usage of Date-Time format?
Hi Skrol29,
Many thanks for this. Apologies for being a bit lazy - I could have tried with different formats, but seemed such an obvious thing to have missed out from the documentation.
Andy
|
|
Posting in progress.
Please wait...
|