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

Recommended Answers

All 2 Replies

check the JavaDoc, it will enlighten you.

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);

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.