Define Variable as Date

From: Tony Austin <taustin_at_solucient.com>
Date: Thu, 28 Jun 2001 10:06:32 -0700

 
I am trying to help one of my colleagues:
 
She wants to take an inputed value, define it as a date and subtract 1 day
from it. For example
 
Input Date (YYYYMMDD):
19990101
 
Result:
19981231
 
We can define the input as an interger, but then the math doesn't work out.
Is there a way to define this as a date, without reset the server date?
 
Thank you.
Received on Thu Jun 28 2001 - 17:07:40 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT