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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -