English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

how do i calculate the time elapsed between 2 times?
I have a field start_time and end_time, and i want to calculate the time between those and store that in another field.

2006-08-11 23:10:48 · 2 answers · asked by Anonymous in Computers & Internet Programming & Design

2 answers

Datediff("s", start_time, end_time) would give you the difference in seconds between the to times

Helmut

2006-08-11 23:13:45 · answer #1 · answered by hswes 2 · 0 0

update table_name set difference = end_time -start_time

2006-08-12 06:13:12 · answer #2 · answered by TRAXIC 2 · 0 0

fedest.com, questions and answers