GT.M Routine timestamp

60 views
Skip to first unread message

Sid

unread,
Apr 26, 2022, 1:16:10 PMApr 26
to
Is there a function in GT.M that returns the timestamp a routine was saved.
Thanks

K.S. Bhaskar

unread,
Apr 26, 2022, 3:01:04 PMApr 26
to
On Tuesday, April 26, 2022 at 1:16:10 PM UTC-4, Sid wrote:
> Is there a function in GT.M that returns the timestamp a routine was saved.
> Thanks

There isn't a built-in function. However, you can run the ls command in a PIPE device, or install the POSIX plugin (https://docs.yottadb.com/Plugins/ydbposix.html) and call statfile^%ydbposix()

Regards
– Bhaskar

Sid

unread,
May 1, 2022, 11:14:50 AMMay 1
to
Thank you Bhaskar,
I ran the "date -r " with format in a PIPE device and got what I needed.
Regards
Sidney
Reply all
Reply to author
Forward
0 new messages