I look that this line-code set Text property of Textbox. HTML5 standard require the ISO format without seconds. I don't know what browsers behavior if we print seconds also.