Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date and time

Status
Not open for further replies.

ADW

Programmer
Jun 21, 2001
50
0
0
GB
Hi there,
I'm currently producing web tasks using SQL Server 7 which involves developing basic web page templates in order to output results of SQL statements. What I want to do is show the exact date and time that the web task was executed(rather than using the current date and time) which will indicate to the person viewing, just how accurate and up to date the information.

Many thanks in advance.
 
Hello,
May be you could store the date/time information in a dedicated column in your table(s). And then retrieve it when necessary.
D.
 
How bout this, add an additional column to the query that looks like "..., GetDate() as ExecTime from..." and then display this as the time that their task ran... "A computer scientist is a person who knows when it is time to hit the computer."

John

johnmc@mvmills.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top