Jump to content


Photo
- - - - -

Convert System Date to Julian Date


1 reply to this topic

#1 kjones

kjones

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 15 September 2006 - 04:15 PM

i need to know how to convert the Proiv system date to give me a 3 digit julian day of the year. this three digit julian date is the day only from within the year of that date, not since jan 1 1800. ex: if the system date is 02/05/05, the date i need is 036.

#2 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 15 September 2006 - 04:58 PM

$CURRENT_YEAR = CDATE(@DATE,'YYYY')
$START_OF_YEAR = $CURRENT_YEAR + '0101'
#START_OF_YEAR = CDATE($START_OF_YEAR)
#CURRENT_DAY = @DATE - #START_OF_YEAR + 1



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users