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!

Calculating Last Months, Month End Date, - Tricky 1

Status
Not open for further replies.

jonwolds

Programmer
Aug 6, 2002
194
GB
Hi, i'm struggling to calculate last months month end date.

i.e 30/09/2002

This date needs to change each month so a calculation is needed.

Thanks

Jon
 
If you want the end of the prior month based on the your computer system date use:

CurrentDate - Day ( CurrentDate )

If you want it based on a specific date field or a prompted date, replace both instances of currentdate with that date field or prompt. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top