2009/2/25 Linly <[email protected]>:
> 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. :(
but {now} is just set with php time() function, and this function will
return the time using your system clock...
Have you got a locale set in config.php to tell php that you are in a
different time zone?
php setlocale: http://us2.php.net/manual/en/function.setlocale.php
If you really need to have the {now} stamp eight hours ahead of
universal time, you could add to index.php or your config.php file
this:
$BOLTvar['$now'] = time() + 60*60*8; //make {now} 8 hours later
it just adds 8 hours of seconds.
~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
-~----------~----~----~----~------~----~------~--~---