Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getLocaleTimeString(dateObj){
- return dateObj.toLocaleTimeString('nl-NL', { hour: '2-digit', hour12: false, timeZone: timeZone });
- }
- function getLocaleDateString(dateObj){
- return dateObj.toLocaleDateString('nl-NL', { weekday: 'long', day: 'numeric', month: 'long', timeZone: timeZone });
- }
Add Comment
Please, Sign In to add comment