java - How to get system time zone configuration -
Is there a way to get the system timezone configuration on which JVM is running? I have a human readable format such as Europe / London and 09:50:07 .
I would like to get the format class = "post-text" itemprop = "text">
timezone.gate (default). GetDisplayName (); // Time zone name will display example India Standard Time
and
Timezone.Get Default (). GetID (); // Example ID will show Asia / Calcutta
Comments
Post a Comment