Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

calendar in applet

 
jeevansai jinne
Ranch Hand
Posts: 60
  • 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
Bartender
Posts: 3054
59
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic