Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 15 Jan 2008 @ 11:04:08 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Convert time from twenty four hour to twelve hour format
 
From:   Sapra, Kapil Dev

Hi,

Use "T" to change time format in AM/PM

     SELECT CURRENT_TIMESTAMP (FORMAT 'HH:MI:SSBT');

     SELECT CURRENT_TIMESTAMP (FORMAT 'HH:MI:SS');




     B : for blank space
     T : 12 HRS FORMAT with AM/PM

Kapil D Sapra



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023