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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a function similar to GETDATE to use in UDFs

Status
Not open for further replies.

phellis

Programmer
May 17, 2000
28
GB
I'm trying get a result set based on the current system time. In normal instanced this is just a case of using GETDATE().
However, due to the limitations of UDF's the GETDATE function can not be called. Does anybody know of a work around that will return a System Date to a UDF.
 
There is of course the option of passing the value of GETDATE() as a parameter to the function. If great accuracy is required this option is not viable.

Bryan Wilhite
rasx@kintespace.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top