Hi Hans,
Thanks for pointing these. But I'm only a BoltWire user not a
programmer. I know the parameters to output many format of the {now}
time stamp, I can out put it like 2009/02/26 or adding the weekday and
so on.
The problem is I can output {now} in any format, but I can't output it
to my GMT+8 time zone. :(
Cheers, linly
On Feb 25, 8:24 pm, Hans <[email protected]> wrote:
> 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
> optionshttp://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
-~----------~----~----~----~------~----~------~--~---