Time Zones - Post ID 297930

User 2836110 Photo


Registered User
109 posts

Is there a way of adding more Time Zones in the Settings, General Tab ?
I noticed you can select UTC but there are not any values to select the actual UTC.
Thanks
User 2699991 Photo


Registered User
5,078 posts
Online Now

Lou Mitsy wrote:
Is there a way of adding more Time Zones in the Settings, General Tab ?
I noticed you can select UTC but there are not any values to select the actual UTC.
Thanks


what time zone are you wanting
all the choices are in the tab next to it called "other"
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS
Contact Me For One To One Assistance
https://mawarputih.coffeecup.com/forms/contact-wayan/

A simple quick way to contact me
https://rsd-tutorialscom.coffeecup.com/ … l-details/
User 2836110 Photo


Registered User
109 posts

Thanks for your reply,

I needed CHRISTCHURCH in New Zealand.
User 2836110 Photo


Registered User
109 posts

Forgot to mention that in the OTHER section the only option i get is UTC.
But how you set the UTC value is a mystery to me ??
User 187934 Photo


Senior Advisor
20,239 posts

The value will show in the Forms confirmation if you choose to use the _form_results_ variable. You can set it in another input using some custom code. The issue with time is that do you want your local time, the users local time, or the servers time?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2836110 Photo


Registered User
109 posts

Hi Eric,
I assumed the Time Zone setting was the users local time zone ?
I would like the Users Local Time Zone when they submit the form to be shown in the storage csv file.
User 187934 Photo


Senior Advisor
20,239 posts

Like this?
https://ericrohloff.com/coffeecup/ccfor … fill-date/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2836110 Photo


Registered User
109 posts

That is perfect Eric, how do i achieve this ?

User 187934 Photo


Senior Advisor
20,239 posts

Add this to your existing script.
jQ('input[name="timezone"]').val(Intl.DateTimeFormat().resolvedOptions().timeZone);

Adjust the timezone input name to your input name or name your text input timezone
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2836110 Photo


Registered User
109 posts

Thanks again,
Another query regarding dates, i have my date format set to DD/MM/YY.
On occasions when i check the date column in my csv file the date is MM/DD/YY but not always ?
It can get confusing.
See example below.
Attachments:

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.