I'm implementing a pickadate date picker, and it's not clear in the docs how to actually use the date a user selects. Eg I have this written:
$('.datepicker').pickadate({
onSet: function(context) {
console.log(context);
}
});
This produces a weird output (for Sep 8 2015):
Object {select: 1441666800000}
How is this output actually usable?