How to Store milliseconds time stamp into quiz_attempt table

Re: How to Store milliseconds time stamp into quiz_attempt table

by sarendar vennapureddy -
Number of replies: 0

Thanks Tim.. for reply.

understood Tim,

Why because, Actually i am customizing quiz attempts  functionality.

I am assigning ranks to students based on grade and Time taken to quiz. Here higher grade and less timetaken student get best rank.

as of now i am sorting timetaken value  and assign ranks to students. But in this scenario  some students getting same ranks. TO avoid this i want to use milliseconds to assign ranks.


user    grade    timetaken    rank

AAA      17.5     5min 2Sec      1

BBB     17.5      5min 2Sec      1


In above example, If  milliseconds came to picture ranks will differ right?

Do we have any methods to store milliseconds time stamp in moodle.