1
Answer

how to set hours,minutes to my date

Photo of venkat

venkat

7y
154
1
i am trying to set hours,minutes and seconds but not able to do please help on this.
 
input:  07/21/2017 
 
here input mean :currValue="07/21/2017 " 
 
my current code is:
var today = new Date(currValue);
var myToday = new Date(today.getFullYear(), today.getMonth(), today.getDate(), today.setHours(0), today.setMinutes(0));
 
output: 07/21/2017 06:32:56 AM
 

Answers (1)

0
Photo of tola Ibironke
NA 8 2k 10y
The user does not need a view page to login. The user will use windows login and I will read the login details from the window active directory to authenticate the user. No view is needed. Hence I'm using windows authentication and not forms authentication.
0
Photo of karthik A
NA 8 772 10y
ok 
view page also show ..
after tell this answer