• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Constructing a Date from a long

 
Barry Brashear
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone show me an example of constructing a Date class from a long?
What would the long value look like for say a time of 1:45 PM?

Thanks.
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


The value of the long is
the specified number of milliseconds since the standard base time known as "the epoch", namely January 1, 1970, 00:00:00 GMT.

[ September 29, 2006: Message edited by: Joanne Neal ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic