Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Function to get previous date

Can anyone tell me how to get previous days date through quick macros. I saw different functions which takes system date but I am looking for functions/code which can generate previous days date.

Thanks In Advance,
Sanish S
Get current date and subtract 1 day.

Macro Macro2333
Copy      Help
DateTime d.FromComputerTime

out d.ToStr
Thanks Gintaras... Smile ...its working...!!

Sanish S

Forum Jump:

Users browsing this thread: 1 Guest(s)