how to create date object with specific time in moment js
var date = "2017-03-13";
var time = "18:00";
var timeAndDate = moment(date + ' ' + time);
console.log(timeAndDate);
how to create date object with specific time in moment js
var date = "2017-03-13";
var time = "18:00";
var timeAndDate = moment(date + ' ' + time);
console.log(timeAndDate);
date format in moment js
moment().format('MMMM Do YYYY'); // April 14th 2021, 5:38:13 pm
moment().format('dddd'); // Wednesday
moment().format("MMM Do YY"); // Apr 14th 21
moment().format('YYYY [escaped] YYYY'); // 2021 escaped 2021
moment().format(); // 2021-04-14T17:38:13+06:00
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us