Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GT.M Routine timestamp

69 views
Skip to first unread message

Sid

unread,
Apr 26, 2022, 1:16:10 PM4/26/22
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 PM4/26/22
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 AM5/1/22
to
Thank you Bhaskar,
I ran the "date -r " with format in a PIPE device and got what I needed.
Regards
Sidney
0 new messages