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

Getting a 2 digit year

Status
Not open for further replies.

jlindquist

Programmer
Jun 8, 2001
14
0
0
US
I have a text box which holds a project number. There's an autonumber on the field and I need to attach some more info to make it a correct project number. I know the format of attaching text on something & "whatever", etc. but I just want to get the 2 digit year to attach on the end. How do you format the date or Year(myDate) to get that?
 
If you want to get the two year value of todays date you would use this equation:

format(Date(),"yy")

HTH Joe Miller
joe.miller@flotech.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top