commit
184f7ae38c
1 changed files with 1 additions and 1 deletions
|
@ -22,5 +22,5 @@ An alternative solution would be to get hours/minutes/seconds and convert them t
|
|||
function getSecondsToday() {
|
||||
let d = new Date();
|
||||
return d.getHours() * 3600 + d.getMinutes() * 60 + d.getSeconds();
|
||||
};
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue