What do you want to save?
Add Code snippet
New code examples
-
SQL 2021-10-27 09:10:11
monthname sql
SELECT GETDATE() 'Today', FORMAT(GETDATE(),'MMMM') 'Month Name' Add solution -
Javascript 2021-10-26 14:08:11
get time in javascript
// these are the most useful ones IMO var time = new Date(); time.getDate(); // returns value 1-31 for day of the month time.getDay(); //returns value 0-6 for day of the week time.getFullYear(); //returns a 4 digit value for the current year time.getHours... Add solution -
SQL 2021-10-26 07:46:09
sql beginning of previous month
SELECT DATEADD(d,1,EOMONTH(GETDATE(),-2)) Add solution -
Javascript 2021-10-25 15:57:07
javascript get date
var d= new Date(); d.getFullYear();//Get the year as a four digit number (yyyy) d.getMonth();//Get the month as a number (0-11) d.getDate();//Get the day as a number (1-31) d.getHours();//Get the hour (0-23) d.getMinutes();//Get the minute (0-59) d.getSec... Add solution -
Javascript 2021-10-24 23:49:10
js date methods
var d= new Date(); d.getFullYear(); //Get the year as a four digit number (yyyy) d.getMonth(); //Get the month as a number (0-11) d.getDate(); //Get the day as a number (1-31) d.getHours(); //Get the hour (0-23) d.getMinutes(); //Get the minute (0-59) d.g... Add solution