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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks for ur reply. both works well. splitted the points. once again thanks for ur help.
regards,
MSKumar