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

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -