Report question

Question: Javascript: how to calculate the beginning of a day with milliseconds?