Jump to content

Find out the day of month of yersterday?


Recommended Posts

Well...

If @MDAY - 1 = 0 Then

$Mon = @MON -1

Else

$Mon = @MON

EndIf

Is that what you wanted?

Not exactly. That gives me back the last or the current month. I need a date macro like "@MYESTERDAY".

For example: Today could be the date 2006 07 01. The date macro @MDAY gives me back a "01", ok?

Now, i need something that gives me back a "30" because yesterday was the date 2006 06 30.

???

Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...