Guest User

Untitled

a guest
Jan 19th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. function getLocaleTimeString(dateObj){
  2. return dateObj.toLocaleTimeString('nl-NL', { hour: '2-digit', hour12: false, timeZone: timeZone });
  3. }
  4.  
  5. function getLocaleDateString(dateObj){
  6. return dateObj.toLocaleDateString('nl-NL', { weekday: 'long', day: 'numeric', month: 'long', timeZone: timeZone });
  7. }
Add Comment
Please, Sign In to add comment