javascript - find third sunday of the month in JQuery -
in jquery, want take string such "first sunday" or "third wednesday" , unix timestamp of day current month.
i've seen done before in php strtotime() or datetime class, can't find out how in jquery.
edit: not duplicate of javascript equivalent of php's strtotime()?
i needed handle passing in "first" or "second" etc ... unless i'm mistaken, can't javascripts date, , have accepted answer on page referring me on datejs.
datejs make date operations snap. answer question, finding 3rd sunday of month :
date.today().third().sunday();
Comments
Post a Comment