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

Get Date??

Status
Not open for further replies.

aljubicic

Programmer
Nov 7, 2002
82
AU
Hi All,

Can anyone tell me the syntax for getting the system Date. In MS SQL it is 'GetDate()'. Is there a similiar function in Informix??

Thanks
Anthony
 
Hi,

The following SQL statement can be used to get the system date.

select today from systables where tabid=1 ;

Regards,
Shriyan
 
Hi:

In addition to Shriyan post, you can get the datetime with:

select current from systables where tabid = 1

Regards,

Ed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top