Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Adding Timestamp to Timezone Display
Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Mar 29, 2017 - 3:38 pm

I'm guessing this would take a theme hack, so I'm posting in this forum. Please feel free to move if it belongs elsewhere... (FYI: We use a Reboot child theme.)

We're getting more and more international users, and one recently asked:

if I could make one suggestion: would it be possible to show not just the two names of the time zones (footer, tripawds timezone, your timezone) but rather the actual time that the site is on?? It would make things a lot easier, especially with the chat, to know when somebody actually posted something. I have a general idea of how late it is in Denver right now but then comes daylight saving time, me having to do math...

no seriously: if it's easy to do it would make life simpler for us people from overseas. 

I told her easy is relative, but I have no idea where to begin if this is possible. Thanks in advance for any suggestions!

Disregard the the "chat" comment, that's in reference to our Live Chat on a separate page built using a different plugin.

forum-timezones.pngImage Enlarger

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Mar 29, 2017 - 5:25 pm

OK, I figured out how to display current server time using current_time... cool

Just wondering now if there might be away to show current user's time.

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 29, 2017 - 5:47 pm

I am probably being somewhat dense here but doesn't the user already know what the current time is? What am I not getting?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 29, 2017 - 7:16 pm

Not sure why they don't know there time either. 

But, if they have properly filled out their timezone in their SP profile you could offset the current time by their timezone and display their current time in addition to the server time. 

Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Mar 31, 2017 - 3:30 pm

We're clearly all on the same page here. The user thought it useful to know what the time time on the site was at any given time (Server time), which I have already implemented on our Chat page—really the only place it mattered.

Thanks for confirming I'm not the dense one in thinking this was a rather "interesting" request.

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 1, 2017 - 1:35 am

thanks for the update...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626