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

Return date MM/DD no year 2

Status
Not open for further replies.

lashwarj

IS-IT--Management
Nov 1, 2000
1,067
US
Is there a way to return the month and date without the year.
 
lashwarj

Although jimstarr's suggestion might be a valid one, it is regional specific, where in other countries, you migh get a different answer, depending on your SET DATE. The following might be generic:

var1 = date()
? ALLTRIM(STR(DAY(var1)))+"/"+ALLTRIM(STR(MONTH(var1)))

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top