datetime - How to handle timezones in CFML? -


How to control time zones in CFML? All the apps that I've written so far have just used the default timezone of CF server and / or SQL Server.

What do you usually do? Do you translate all the dates in the GMT with GetTimezineInfo () and then with DateAd (), and all the time in the time zone based on the user's priority login?

Or do you guys use any Java methods?

I was contemplating this issue some time ago and found and Coldfusion / Java examples are very useful:

Do not forget to check it

How to store the dates will probably depend on your business logic In a project I did this, where we can schedule human resource scheduling in the time zone. Had to implement, we used to store date / time in UTC and Used Datifhaf in the database to check for the purpose.

Edit:


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -