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

How to get the current month value

Status
Not open for further replies.

nikol

Programmer
Apr 12, 2005
126
US
How can I get the current month value "June" & the last month"May
 
//{@currentmonth}:
monthname(month(currentdate))

//{@lastmonth}:
monthname(month(dateadd("m",-1,currentdate)))

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top