how to set today date in asp textbox as text from frontend code example Example: set current date to textbox in asp.net DateTime. Today. ToString("yyyy/MM/dd");