Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
13 lines (10 sloc) 218 Bytes
title version signature
As Array
1.7.0
moment().toArray();

This returns an array that mirrors the parameters from new Date().

moment().toArray(); // [2013, 1, 4, 14, 40, 16, 154];