×

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: Dec 3, 2019 5:22 PM
Views: 3432
Tags: date textbox
  1. TextBoxMyDate.Text = DateTime.UtcNow.ToString("yyyy-MM-dd");
  2. txtHora_Inicio.Text = DateTime.UtcNow.ToString("hh:mm");
  3.  
  4. ((DateTime)myReader["Registration_Date"]).ToShortDateString();