2009/2/25 Linly <[email protected]>:
>
> I found that the syntax {now} is the time of GMT. But I'm in Asia, my
> time zone is GMT+8. How can I ask {now} to display GMT+8?
{now} returns the unix timestamp of time in seconds from 1.1.1970 till
now, and yes, it is measured as universal time (GMT).
you need to use [time ...)] to format this number.
http://www.boltwire.com/index.php?p=docs.barn.functions.boltftime
see php strftime for format options
http://us2.php.net/manual/en/function.strftime.php
chheers
Hans
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---