Posted to tcl by Bradipo at Thu Jan 12 15:46:32 GMT 2023view raw

  1. % set tcl_version
  2. 8.4
  3. % clock scan "2023-01-13T12:15:49" -gmt 1
  4. 1673586949
  5. % clock format 1673586949
  6. Thu Jan 12 22:15:49 MST 2023
  7.  
  8. % set tcl_version
  9. 8.6
  10. % clock scan "2023-01-13T12:15:49" -gmt 1
  11. 1673637349
  12. % clock scan "2023-01-13T12:15:49" -timezone UTC
  13. 1673637349
  14. % clock format 1673637349
  15. Fri Jan 13 12:15:49 MST 2023
  16.