• GT.M Routine timestamp

    From Sid@21:1/5 to All on Tue Apr 26 10:16:09 2022
    Is there a function in GT.M that returns the timestamp a routine was saved. Thanks

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From K.S. Bhaskar@21:1/5 to Sid on Tue Apr 26 12:01:02 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sid@21:1/5 to K.S. Bhaskar on Sun May 1 08:14:49 2022
    On Tuesday, April 26, 2022 at 10:01:04 PM UTC+3, K.S. Bhaskar wrote:
    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

    Thank you Bhaskar,
    I ran the "date -r " with format in a PIPE device and got what I needed. Regards
    Sidney

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)