Set date or datetime input to "YYYY-MM-DD" 

Set date or datetime input to "YYYY-MM-DD" 

  

Good day. I'm using CustomMasks\MaskDate and  i was having a trouble setting my dates input widget to a "YYYY-MM-DD" format instead of a date, shown on page load or default. You guys know how to make this work? Thank you. :)

Hi Jan Carlo,

Please refer screenshot. Hope it will work for you.


-Hitesh-

Solution

Hitesh Maran wrote:

Hi Jan Carlo,

Please refer screenshot. Hope it will work for you.


-Hitesh-

Hi Hitesh, Thank you for your reply.I've tried this, but it displayed "1900-01-01" instead of "YYYY-MM-DD". do i lack on something else perhaps?

Regards, 

JC

Solution

Hi Jan Carlo,

Please refer this screenshot. 


-Hitesh-

Hitesh Maran wrote:

Hi Jan Carlo,

Please refer this screenshot. 


-Hitesh-

ooh. Thank you Hitesh! 


Cheers,

JC