MAKETIMESTAMP Function
Returns the timestamp.
Category: |
Date and Time |
Returned data type: |
timestamp |
Example
The following statements
illustrate the MAKETIMESTAMP function:
|
|
select maketimestamp(date '2013-10-30',
time '10:39:10');
|
|
select maketimestamp(2013,10,30,13,39,10);
|
|
select maketimestamp(makedate(2013, 10, 30), maketime(13, 39, 10));
|
|
select maketimestamp(y, m, d, h, mn, s) from adate;
|
|
Copyright © SAS Institute Inc. All rights reserved.