Search notes:

SAS format: time

Format a number of seconds in the hrs:min:sec:.. format:
data _null_;

  seconds =  3*60*60 + /*  3 hours                 */
            18*60    + /* 18 minutes               */ 
            27       + /* 27 seconds               */
            35/100   ; /* 35 hundreths of a second */
 

  put seconds time.   ;  /*  3:18:27     */
  put seconds time12.3;  /*  3:18:27.350 */

run;
Github repository about-SAS, path: /programming/formats-informats/time.sas

See also

Comparison of hhmm, tod, time.
informats and formats

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Companie...', 1759338027, '216.73.216.88', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Companies-Products/SAS/programming/formats-informats/time(52): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78