Results 1 to 4 of 4

Thread: Julian Date

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2001
    Location
    Indiana
    Posts
    3

    Question 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
    Sincerely,

    wtwyant

  2. #2
    Addicted Member eer3's Avatar
    Join Date
    Sep 2000
    Location
    Ca
    Posts
    165
    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...

  3. #3
    Addicted Member eer3's Avatar
    Join Date
    Sep 2000
    Location
    Ca
    Posts
    165
    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?

  4. #4

    Thread Starter
    New Member
    Join Date
    May 2001
    Location
    Indiana
    Posts
    3

    Julian Date

    Nevermind....

    After stepping away, I was able to find the solution.
    Sincerely,

    wtwyant

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width