This Arttical i will explain how to get current timezone in asp.net .
Example
<%@ Page Language="C#" %> <html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server"> <title>Using JavaScript</title> </head> <body onload="javascript:document.forms[0]['TextBox1'].value=Date();"> <form id="form1" runat="server"> <div> <asp:TextBox ID="TextBox1" Runat="server" Width="300"></asp:TextBox> </div> </form> </body> </html> |
0 comments :
Post a Comment