+ Reply to Thread
Results 1 to 2 of 2

Thread: Converting Julian Date to mm/dd/yy in query

  1. #1
    Guest.Visitor Guest

    Default Converting Julian Date to mm/dd/yy in query

    I need to convert a julian date YYYYDDD into MMDDYY within query. I found a thread from 1997 but only found the first question but not the answers. Thanks for any help

  2. #2
    Guest.Visitor Guest

    Default Converting Julian Date to mm/dd/yy in query

    Tracy, The following will convert a julian numeric date into a character field representation of mm/dd/yy. If you want this as a character rep without the slashes, just create another field substringing them out.
     Field Expression Column Heading Len Dec JULA digits(jul) JULD date(jula) MDYA char(juld) 
    Here, the field JUL is a numeric field representation of -either- YYYYDDD or YYDDD. The field JULD is a date field that will print out in the job's date format (probably mm/dd/yy). The field MDYA is a character field that prints just like JULD (whatever the job's date format). If you happen to be running a date format differently, then just substring and concatenante MDYA into the appropriate format. Bill

+ Reply to Thread

Similar Threads

  1. Convert Julian dates to Calendar Date
    By Hazermark in forum RPG
    Replies: 3
    Last Post: 07-09-2008, 07:01 PM
  2. Julian Date
    By JohnFox in forum RPG
    Replies: 2
    Last Post: 06-15-2007, 10:30 AM
  3. Replies: 7
    Last Post: 10-02-2004, 03:49 PM
  4. Converting Date to Julian
    By Guest.Visitor in forum Programming
    Replies: 2
    Last Post: 01-07-1999, 03:17 PM
  5. Query - Converting Julian Date Format
    By trevor.lazarus@ssa.gov in forum Application Software
    Replies: 0
    Last Post: 01-01-1995, 02:00 AM

Posting Permissions

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