Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please assist in conversion of date problem

Status
Not open for further replies.

WhiteZiggy

Programmer
Jan 22, 2003
85
US
I have the day. IE "365". I need to convert it to the month and day. Ie "December 31" .. Or "1" ie "January 1".

Does anyone know of any expressions to assist in this?

Thanks,
Ziggy
 
Hi

To be a date you must add the DAY value to a BASE DATE.

For instance
Code:
DAY = 356
BaseDate = 12/31/2003
NewDate = BaseDate + DAY
:)

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884

Skip,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top