Aug 5, 2004 #1 lvadmin MIS May 5, 2004 28 US I have: eventt= val(eventtime) - val(newmtime) &&at this point eventtime=20040804025040.00 &&i need to get 20040804025040 (.00 cut off) back to eventt2 and in the character format.... &&Can someone please help me with this?
I have: eventt= val(eventtime) - val(newmtime) &&at this point eventtime=20040804025040.00 &&i need to get 20040804025040 (.00 cut off) back to eventt2 and in the character format.... &&Can someone please help me with this?
Aug 5, 2004 #2 rob444 Programmer Nov 5, 2002 633 NL This should do the job: eventt2 = alltrim(str(int(eventtime))) Rob. Upvote 0 Downvote
Aug 5, 2004 #3 rob444 Programmer Nov 5, 2002 633 NL or perhaps you mean something like: eventt2 = TRANSFORM(xx,'@R 9999/99/99 99:99') Rob. Upvote 0 Downvote
Aug 5, 2004 #4 rob444 Programmer Nov 5, 2002 633 NL It should read: eventt2 = TRANSFORM(eventtime,'@R 9999/99/99 99:99') Rob. Upvote 0 Downvote
Aug 6, 2004 #5 rob444 Programmer Nov 5, 2002 633 NL Counting the numbers it should be: eventt2 = TRANSFORM(eventtime,'@R 9999/99/99 99:99.99') Rob. Upvote 0 Downvote