From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653649622130.tru64-unix-managers.marc@archive.invalid> From: Tony Austin Date: Thu, 28 Jun 2001 17:06:32 +0000 To: tru64-unix-managers Subject: Define Variable as Date X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653649622130 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------_=_NextPart_001_01C0FFF4.AE5C1FB0" This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0FFF4.AE5C1FB0 Content-Type: text/plain; charset="iso-8859-1" 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. ------_=_NextPart_001_01C0FFF4.AE5C1FB0 Content-Type: text/html; charset="iso-8859-1"
 
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.
------_=_NextPart_001_01C0FFF4.AE5C1FB0--