• Post Reply Bookmark Topic Watch Topic
  • New Topic

calendar in applet

 
jeevansai jinne
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was trying to make a timezone converter applet i used calendar to display time but where will the applet get time from if placed on a website will it interact with internet and get time.
 
Tony Docherty
Saloon Keeper
Posts: 3154
75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know for sure but I would imagine the Applet would get the time-from-epoch information from the local computer ie the computer the applet is running on. As to how that information relates to a date and time that would depend on whether or not you are specifying a locale and timezone when creating your Calendar. If you are it will use those if not I would expect it to use the locale and timezone of the local computer.
 
I found a beautiful pie. And a tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!