I use a data picker like that:
$('#startTime').datepicker("option", "dateFormat", 'yy-mm-dd ');
However when I want to set it I have a epoch time value that comes from my server (milliseconds since the standard base time January 1, 1970) How can I do that when I set it like this it just shows a number instead of date as usual?
@sets the format to UNIX timestamp -> http://docs.jquery.com/UI/Datepicker/formatDatePlease note: This is in milliseconds, not seconds