How to get the Time Zone?

ok im pretty new in progress and wondered if it is possible to get the Timzone of the local Computer which progress is working on?

i would need it in this format:

"+0000"

i dont know what this format is called but i hope you can help me....


and btw. sorry for my bad english :p
 

jp-uk

New Member
string(time, "HH:MM") for 24 hr or string(time, "HH:MM AM") for 12hr time if my memory is right...
 

lloydt

New Member
Your format is Coordinated Universal Time (UTC).

I'm not sure of the version of progress that you are on, if you are on 10.1b (possibly 10.1a as well) or later, there is a datetime-tz data type and related functions that work pretty good for this. Check out the timezone function in openedge help or pdf docs from psdn.

If your version is prior to 10.1 I'm thinking there wasn't anything this nice available in progress and you may need to resort to an api call of some kind.




ok im pretty new in progress and wondered if it is possible to get the Timzone of the local Computer which progress is working on?

i would need it in this format:

"+0000"

i dont know what this format is called but i hope you can help me....


and btw. sorry for my bad english :p
 
Top