# Practice for getting moments of time in JavaScript

Determine how many seconds have passed from the beginning of the day to the present time.

Determine how many seconds are left until the end of the day.

Determine how many days are left until the new year.

Determine how many Fridays are `13`th in the current year.

Determine what year was `3` months ago.

Determine which day of the week will be the last day of the current month.

Write code to determine if the current year is a leap year.

Write code to find the previous leap year.

Write code to find the next leap year.

← →
↑
en ru