You should be able to do this using the FORMAT attribute of the dates such
as %Y for the 4 digit variation of the year. So if the first date is from a
column value you should be able to use:

<@COLUMN xxx FORMAT="datetime:%m/%d/"><@CURRENTDATE FORMAT="datetime:/Y">

Steve Smith

Skadt Information Solutions
Office: (519) 624-4388
GTA:    (416) 606-3885
Fax:    (519) 624-3353
Cell:   (416) 606-3885
Email:  [EMAIL PROTECTED]
Web:    http://www.skadt.com


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Troy Sosamon
Sent: June 27, 2002 1:40 PM
To: Multiple recipients of list witango-talk
Subject: Witango-Talk: Date minipulation


I need to build a date from 2 dates.  The first date I need to use the month
and day, and the year needs to come from the currentdate.

Say the first_date is 01/01/1990.
The second_date is 06/27/2002.

I need to build a date that is 01/01/2002

What is the best method to do this.

Thanks,

Troy Sosamon

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to