June 16, 2009

ASP.NET DateTime

As you might have seen we posted a small post about PHP date formatting to help keeping your websites copyright year up to date.

Well as our development team has started working with ASP.NET we will be starting to add ASP.NET tutorials and articles for you to read. We do offer custom Windows hosting with both ColdFusion and ASP.NET. If you are interested please contact us.

Now for the code!
ASP.NET is easy to pick up as some of the basics are like PHP in some ways but sorry to say not at all like the ColdFusion coding.

Date and Time:

<%= DateTime.Now %>

The year for copyright:

<%= DateTime.Now.Year %>


Leave a Reply

Your email address will not be published. Required fields are marked *

About Host Media

We have been hosting websites since 2002 and are always moving forward. All articles written under the Host Media author are created by the team who support our customers.


ASP.NET using C#


, , , , , ,