By: sorinGo
Date: 2011-07-02
Time: 11:20
|
unixtime format
Hello,
I use tinybutstrong for some time....after I change my server and php version to 5.3.7 I have a problem with unix time format on site. My time is kept as unix time format in database and displayed with MERGE BLOCK and FRM on field (blk1.filed_name;frm=dd.mmm.yy).....My problem is that date & time are displayed wrong .....what can I do?
Some examples: 02.Jul.81 ..witch must be 02.Jul.11
|
By: Skrol29
Date: 2011-07-03
Time: 00:18
|
Re: unixtime format
Hello,
> unix time format in database
What is a unix time format in database ?
PHP bring a new TimeZone consideration for managing date/time information. Did you check that your TimeZone is correctly configured ?
|
By: sorinGo
Date: 2011-07-03
Time: 10:05
|
Re: unixtime format
unix time: an integer (number of seconds from 1970) like this 1306972800 witch means 02.June.2011 00:00 ...this numer I have to format with FRM option from TBS...after I apply FRM options (blk.field;frm=dd.mmm.yy) my display time is wrong. I get this 02.Jun.81.
|
By: Skrol29
Date: 2011-07-05
Time: 01:23
|
Re: unixtime format
I cannot reproduce your bug.
Can you anly test:
PHP:
HTML:
{[onload.x;frm=dd.mmm.yy]}
|
|
|
Posting in progress.
Please wait...
|