DateTime.Now in the server-side script will give you the server's date &
time
-Noah Coad
Microsoft MVP & MCP [.NET/C#]
"Micheal" <frooyo@sbcglob al.net> wrote in message
news:eCqOEBsUDH A.2112@TK2MSFTN GP10.phx.gbl...[color=blue]
> ASP.NET using C# - How do I get the current server date (e.g. 2003)?
>
> Thanks in advance
>
>[/color]
Before I get in trouble, I ment server-side code. And if you just want the
year, use:
DateTime.Now.Ye ar
-Noah
"Noah Coad [MVP .NET/C#]" <noah@coad.ne t> wrote in message
news:e3%23U1LsU DHA.1928@TK2MSF TNGP12.phx.gbl. ..[color=blue]
> DateTime.Now in the server-side script will give you the server's date &
> time
>
> -Noah Coad
> Microsoft MVP & MCP [.NET/C#]
>
>
> "Micheal" <frooyo@sbcglob al.net> wrote in message
> news:eCqOEBsUDH A.2112@TK2MSFTN GP10.phx.gbl...[color=green]
> > ASP.NET using C# - How do I get the current server date (e.g. 2003)?
> >
> > Thanks in advance
> >
> >[/color]
>
>[/color]
Comment