Current location - Education and Training Encyclopedia - Graduation thesis - Statistical problems of accessing database with ASP
Statistical problems of accessing database with ASP
Take the value of now ()

nowtime=now()

TJ time = year(now time)amp; “-”& amp; Month (now) and time. “-”& amp; Day () ...

Splicing into time variables

Then spell 0000.

Put them together and read the database.

How many seconds is a * * * by using datadiff and counting the seconds in it?

24×60×60

Comparative differences

This is the basic idea.

So we can separate the days.

I can handle it without myself.

Compare with now () with datadiff.