Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date conversion

Status
Not open for further replies.

keithb03

Programmer
Feb 1, 2005
10
US
Is there a procedure within EB that will convert Gregorian dates to Julian format?

Thanks,
KB
 
If your purpose for conversion is to compare dates try this

x = datevalue(somedate$)
y = datevalue(somotherdate$)

then simply compare x and y with < > and =

you can use date formats of

"01/01/05"
"01/01/2005"
"Jan 1, 2005"
"January 1, 2005"

or you can add and subtract days to determine other dates

x = datevalue(todaysdate$)+7
now x = one week from today

hope this helps


 
The question was about Gregorian dates to Julian.

I don't know of any conversion for this. You'd have to build it.

calculus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top