24 lines
		
	
	
		
			378 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			378 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| title: Date Now
 | |
| ---
 | |
| ## Date Now
 | |
| 
 | |
| The Date.now() method returns the number of milliseconds elapsed since 1 January 1970 00:00:00 UTC..
 | |
| 
 | |
| ### Syntax
 | |
| 
 | |
| ```js
 | |
| var timeInMs = Date.now();
 | |
| ```
 | |
| 
 | |
| ### Example
 | |
| 
 | |
| ```js
 | |
| Date.now(); 
 | |
| // 1508783660969
 | |
| ```
 | |
| 
 | |
| #### More Information:
 | |
| 
 | |
| [MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/now)
 |