How do I setup Julian calendar dates in Access

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to Auto number a form and use the julian dates as a primary key.
Using this to print out on forms.
 
What's your definition of Julian dates? Assuming you mean yyyyddd, where ddd
is the day of the year, you can use:

Format(Date(), "yyyy") & Right("00" & Format(Date(), "y"), 3)

For today (2004-10-01), that will return 2004275


--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)



"Julian dates Access 2000" <Julian dates Access
(e-mail address removed)> wrote in message
news:[email protected]...
 
Back
Top