HP3000-L Archives

March 1998, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Mon, 30 Mar 1998 09:22:48 -0800
Content-Type:
text/plain
Parts/Attachments:
cc:Mail (21 lines)
Hi,

One easy way to convert Maestro dates to aammdd format is :

!
!setvar mvar,'?($today > 3  years pic yymmdd)'
!if mvar < '500101' then
! setvar mvar, chr(ord('![str('!mvar',1,1)]') + 17)+ str('!mvar',2,5)
!endif
!echo today + 10 is : !mvar
!comment if yy is less than 1950 then it must be year 2000 ?

Then you can echo !mvar to a file and input it to your application.

I have used similar schems with QUIZ and SUPRTOOL and it works,
Please let me know if you need more details.

Thanks

Michael

ATOM RSS1 RSS2