Quick question about dynamic {{dc:user:registration_time}}

Hi!

I was wondering how {{dc:user:registration_time}} works. Is this local time for the user? Or is this based on the server time?

So, let’s say my server is Amsterdam based. If a user registers from New York City, local time 12:00 AM, does it return 12:00 AM for him? Or would it return 16:00?

Hey Tristan,

It’s the time in GMT or UTC the user was registered or added to the site. For example, the user registered 7:00 PM GMT +8. It will display 11:00 AM because that’s the UTC equivalent.

Hope that helps.

Thanks!

Is there a way to echo the local time for the user?

HI Tristan,

It might be possible by either a plugin or a custom code. Check this article please. Unfortunately, both of this option are outside the scope of our support because this is not issue with the theme. I made some google search where you can start with as guidance. Please check this: http://usefulangle.com/post/31/detect-user-browser-timezone-name-in-php. You might need to consult a developer in case you’re not familiar on coding. Thank you for understanding.

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.