1,105,169 Community Members

How convert DATE() into number

Member Avatar
Motvel
Newbie Poster
19 posts since May 2008
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Which functions can help me to convert a DATE() into a double or integer number?
Can i convert a Gregorian intro Julian date?
Thankyou.

Member Avatar
jwenting
duckman
8,330 posts since Nov 2004
Reputation Points: 1,399 [?]
Q&As Helped to Solve: 445 [?]
Skill Endorsements: 35 [?]
Infraction Points: 5
Team Colleague
 
0
 

check the JavaDoc, it will enlighten you.

Member Avatar
Motvel
Newbie Poster
19 posts since May 2008
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Thank's, i find something like:
long someLong=1115330300000L;

Date date=new Date();
// from Date to long
long currentTime=date.getTime();
// from long to Date
Date anotherDate=new Date(someLong);

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article