How to get the Previous dates
-
nerdweed
- Posts: 652
- Joined: 25 Feb 2012 07:47
- Location: XY64 Latest Beta , Win 11, 96dpi, 100%
How to get the Previous dates
Any idea, how to fetch the previous date, like yesterdays date or 35 days ago. Date offset is present for datec, datem. I need it for <date>.
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: How to get the Previous dates
See command formatdate, this example shifts ahead 35 days:nerdweed wrote:Any idea, how to fetch the previous date, like yesterdays date or 35 days ago. Date offset is present for datec, datem. I need it for <date>.
Code: Select all
text formatdate(<date>, , "d", 35);-
nerdweed
- Posts: 652
- Joined: 25 Feb 2012 07:47
- Location: XY64 Latest Beta , Win 11, 96dpi, 100%
XYplorer Beta Club