Julian date to Calender Date

Reply

Join Date: Sep 2006
Posts: 30
Reputation: sarath.koiloth is an unknown quantity at this point 
Solved Threads: 0
sarath.koiloth's Avatar
sarath.koiloth sarath.koiloth is offline Offline
Light Poster

Julian date to Calender Date

 
0
  #1
Aug 23rd, 2007
Please help me to get calender date from the given Julian date(1187610073812).

Thanks in Advance..
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 34
Reputation: arkaprava is an unknown quantity at this point 
Solved Threads: 0
arkaprava's Avatar
arkaprava arkaprava is offline Offline
Light Poster

Re: Julian date to Calender Date

 
0
  #2
Aug 23rd, 2007
year 3251
month july
day 23
hr 12
min 0
sec 0
Batman is actually Bruce Wayne, Spider-Man is actually Peter Parker. He has to put on a costume to become Spider-Man. And it is in that characteristic Superman stands alone. Superman didn't become Superman. Superman was born Superman.Clark Kent is how Superman views us. And what are the characteristics of Clark Kent. He's weak... he's unsure of himself... he's a coward. Clark Kent is Superman's critique on the whole human race.
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,624
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 281
Moderator
masijade's Avatar
masijade masijade is offline Offline
Posting Maven

Re: Julian date to Calender Date

 
0
  #3
Aug 23rd, 2007
That is not a Julian Date. That is simply the number of milliseconds since the "epic" (00:00:00 Jan 1st 1970 UTC) (i.e. a completely normal date as known in nearly all programming languages, excpet that some use seconds rather than milliseconds).
Simply do new Date(1187610073812);.
Last edited by masijade; Aug 23rd, 2007 at 2:51 am.
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 4655 | Replies: 2
Thread Tools Search this Thread



Tag cloud for Java
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC