Keşfet

Display date with given timezone vs user timezone

XFdestek

Kurucu Üye
Katılım
25 May 2014
Mesajlar
4,482
Tepkime puanı
284
Konum
Türkiye
Web sitesi
fivetu.xyz
We have a lot of dates and times posted on our website where we want to display the date in a specific timezone (regardless of the user's or board's preference). Is there a way to override the user's date time and specify a constant timezone to be used when displaying the date, via xf:date tag or date function?

I.e. I would want the date to be shown as mm/dd/yyyy 8:30 AM PST; where PST is the constant or UTC-8, etc.
 

Konu görüntüleyen kullanıcılar

Benzer konular

Geri
Üst Alt