"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx> wrote on 02/07/2018
04:31:45 PM:
On 02/07/2018 06:19 PM, dlclark@xxxxxxxxxxxxxxxx wrote:
"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx> wrote on 02/07/2018
04:05:01 PM:
I have a quest to read a file by Timestamp so I need to create a TS
variable.

I have a date parm coming in that is 8,0 which I convert to an *ISO
date
field.

How would I go about "attaching/creating" the default TIME segment
for
this
variable so that I can use it with SETLL.

We are currently on 7,2

Stuff like this has worked for me.


strvalue = %char(%date(jobdate:*ISO))
+ '-00.00.00.000000';
jobtimestamp = %timestamp(strvalue);


I think: strvalue = %timestamp(dateParm)) will work. It will assign
the date followed by zero hours min sec Msec


In my case I was converting from a non-date field and going for a
full timestamp.

Sincerely,

Dave Clark

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.