Permalink
Fetching contributors…
Cannot retrieve contributors at this time
14 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];