Date Function

Date Function

Anonymous
Not applicable
362 Views
2 Replies
Message 1 of 3

Date Function

Anonymous
Not applicable
Does anyone have a function that will calculate the date that is 1 day
before the date supplied?

Example:
prevday("6/14/2002") would return "6/13/2002"
prevday("6/1/2002") would return "5/31/2002"

Best regards,

--
D.M. Levesque, AScT
0 Likes
363 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
just use Date - 1

this will subtract a day.

--
| Rob Starz
------------------------------------------------------
| president / dreamer
| Stardsign cad solutions
| AEC Designer / Consultant / Developer
| Autodesk Architectural Desktop:
Tools: www.stardsign.com
Tech Support: www.stardsign.com/support.htm
0 Likes
Message 3 of 3

Anonymous
Not applicable
Thanks!

Dale

"Rob Starz" wrote in message
news:[email protected]...
> just use Date - 1
>
> this will subtract a day.
>
> --
> | Rob Starz
> ------------------------------------------------------
> | president / dreamer
> | Stardsign cad solutions
> | AEC Designer / Consultant / Developer
> | Autodesk Architectural Desktop:
> Tools: www.stardsign.com
> Tech Support: www.stardsign.com/support.htm
>
>
0 Likes