Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Help calculating an average Start Time? - forum topic by AKBurnage

$
0
0

Hi Everyone -
Looking for some advice!
I have a column Start_dt which is in 'TimeStamp' format - ie has the date and the time.
I would like to calculate the 'average start time', i.e 9:00, 9:10 the average would be 9:05. Trying to work out if i can extract just the time from start_dt & do an average, or whether I need to extract the hour, minutes, seconds turn it all into seconds then back into a time? (i am hoping the previous!)
Any help would be fantastic!! thanks :)

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles