Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: ASP
Posted by: Mario Lopes
Added: Sep 23, 2018 5:31 PM
Modified: Sep 29, 2018 11:33 AM
Views: 7
Tags: date today
Campo do tipo date formatado de forma a arrancar com a data de hoje
  1. TextBoxMyDate.Text = DateTime.UtcNow.ToString("yyyy-MM-dd");
  2. txtHora_Inicio.Text = DateTime.UtcNow.ToString("hh:mm");