|
-
Jun 15th, 2001, 10:32 AM
#1
Thread Starter
New Member
Julian Date
I need to detirmine a Julian date using VB6.0. Does anyone have any suggestions or resources that I might be able to use to figure out haw this is done?
Thanks in advance for your assistance!
wwyant
-
Jun 15th, 2001, 10:37 AM
#2
Addicted Member
I wrote some code to go the other way, Julian to dd-mmm-yy. If you think it would help I'll dig it out...
-
Jun 15th, 2001, 10:54 AM
#3
Addicted Member
Actually, it's easier than I thought...
jdate = DateDiff("d", "01/01/" & Format(Now, "yy"), Now) + 1
Just replace both of the "Now"s with the date you want to get the Julian date for, or leave them in place to return today's Julian date.
You must be working for the military... who else uses Julian dates?
-
Jun 15th, 2001, 12:01 PM
#4
Thread Starter
New Member
Julian Date
Nevermind....
After stepping away, I was able to find the solution.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|