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

Want only 04 as date 2

Status
Not open for further replies.

pgtek

Programmer
Sep 28, 2001
1,180
CA
Hi
I have report that need only the last 2 digit of the year.

My formula is
year(CurrentDate) and it display 2004.00
i only need 04

i'm using cr 8.5

thank you



pgtek
 
Keep the field as a date type - don't convert it to a number. Right click on it and choose Format Field. On the date / time tab choose the Customize tab. In the format area change the Month and Date to "None" and change the Year to "99" (or last two digits of the year).



Mike
 
Hi
Thanks mbarron and danjausten
work fine



pgtek
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top