Link to home
Start Free TrialLog in
Avatar of mskumar_apk
mskumar_apk

asked on

mysql timestamp ceiling to 5 minutes

Hai,

Is there any function ( or an efficient way) to get the following functionality in mysql.

2005-11-10 22:31:12 as 2005-11-10 22:35
2005-11-10 22:34:13 as 2005-11-10 22:35
2005-11-10 22:43:13 as 2005-11-10 22:45
2005-11-10 22:47:13 as 2005-11-10 22:50.

Its nothing but a ceiling based on 5 minutes.

Please help.

regards,
MSKumar
SOLUTION
Avatar of virmaior
virmaior
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mskumar_apk
mskumar_apk

ASKER

Hai,

thanks for ur reply. both works well. splitted the points. once again thanks for ur help.

regards,
MSKumar