24/7 Live Chat Support
  • 24/7 Support
  • UK based: (+44) 0800 0488 186
  • US based: (570) - 445-3230
 // you're reading...

ASP.NET using C#

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 %>

Enjoy!

Discussion

No comments yet.

Post a Comment


− 1 = 4