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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Expression 1

Status
Not open for further replies.

ocan

Programmer
Jun 28, 2004
31
US
On a form, in 1 text box, how could I type in:

julian date-----(three digit day)(last 2 digits of the year) and in another text box return the date.

ie. type in 00104 & have it return 1/1/04.

Thanks.
 
How are ya ocan . . . . .

See:

Calvin.gif
See Ya! . . . . . .
 
Something like this ?
AnotherTextBox = DateSerial(Right(JulianDate, 2), 1, Left(JulianDate, 3))

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top