Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

How to get client-machines Regional Settings?

$
0
0

Hello

I have an app counting down time (days, hours, minutes and secs) to certain event.

My question is how to get it work globaly? Assume following example:

There is an event taking place in NYC 7.00 pm a particular date. From my location , server-site, the clock is 7 hrs ahead of

NYC-time. Adding 7 to NYC-time gives me 02,00 am NYC-date + 1. Now I can do countdown calcs to this modified datetime.

But it works only for sites located on my longitude. How can I get work globally, regardless of longitude?

Prompting the user on client-machine for local date and time is not a desirable option.

Best Regards

Outi


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>