Update task.md
Fixed minor grammatical errors
This commit is contained in:
parent
c2d8a8b6d7
commit
6da81c5e1f
1 changed files with 2 additions and 2 deletions
|
@ -2,11 +2,11 @@ importance: 5
|
|||
|
||||
---
|
||||
|
||||
# How many seconds has passed today?
|
||||
# How many seconds have passed today?
|
||||
|
||||
Write a function `getSecondsToday()` that returns the number of seconds from the beginning of today.
|
||||
|
||||
For instance, if now `10:00 am`, and there was no daylight savings shift, then:
|
||||
For instance, if now were `10:00 am`, and there was no daylight savings shift, then:
|
||||
|
||||
```js
|
||||
getSecondsToday() == 36000 // (3600 * 10)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue