GETUTCDATE (SSIS Expression)
Applies to:
SQL Server
SSIS Integration Runtime in Azure Data Factory
Returns the current date of the system in UTC time (Universal Time Coordinate or Greenwich Mean Time) using a DT_DBTIMESTAMP format. The GETUTCDATE function takes no arguments.
Syntax
GETUTCDATE()
Arguments
None
Result Types
DT_DBTIMESTAMP
Expression Examples
This example returns the year of the current date in UTC time.
DATEPART("year",GETUTCDATE())
This example returns the number of days between a date in the ModifiedDate column and the current UTC date.
DATEDIFF("dd",ModifiedDate,GETUTCDATE())
This example adds three months to the current UTC date.
DATEADD("Month",3,GETUTCDATE())
See Also
Atsiliepimai
https://aka.ms/ContentUserFeedback.
Jau greitai: 2024 m. palaipsniui atsisakysime „GitHub“ problemų, kaip turiniui taikomo atsiliepimų mechanizmo, ir pakeisime jį nauja atsiliepimų sistema. Daugiau informacijos žr.Pateikti ir peržiūrėti atsiliepimą, skirtą