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]...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top