Differnce Between ASP And Asp.net

I have been using ASP for my web pages, but friend of mine says that ASP.NET is better and more powerful. Which should I concentrate more on learning?

View Replies


ADVERTISEMENT

Calculate The Differnce Between Two Times

I am trying to calculate (in minutes) the difference between two times. In the database the times are in this format:

Start Time (Game_Time): 1/1/1900 12:00:00 PM

End Time (GameEndTime): 1/1/1900 1:00:00 PM

Here is the code I'm trying:

Code:

GameLength = DateDiff("n",Game_Time,GameEndTime)

The result is: 780

I would expect it to be: 60 minutes

What am I doing wrong?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved