Forums Register Login

How to format all dates and times into user's default local time zone?

+Pie Number of slices to send: Send
Hello!

I have good idea. I want to style all dates and times within my site into user's default local time zone. So that date and time is correct for user's local time zone.

I know I can use <f:convertDateTime>. But is there any way to format all dates from one place without using <f:convertDateTime>?

Thank you!
+Pie Number of slices to send: Send
Unfortunately, no. And unless the tag explicitly overrides it, the timezone will be UTC.
So it takes a day for light to pass through this glass? So this was yesterday's tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 811 times.
Similar Threads
Time and time-zone
local time display in forum
Time Zone
how to set the Time zone ?
How To Convert GMT
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 03:28:20.