Date calculation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want an expression to calculate "same perior previous year". For instance,
if I am using Sept.04 data in October, I want compare Sept.04 totals with
Sept.03 totals. Any suggestions.
 
dToday = DATE()
dLastMonth = DATE() - DAY(DATE())
dLastYear = GOMONTH(dLastMonth,-12)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top