How to get current timestamp in Redshift database

getdate function can be used to return the current timestamp.

select getdate();

See also  How to count Objects in an S3 bucket