getutcdate¶
In [ ]:
getutcdate()
Returns the current statement's start date and time at TIME ZONE 'UTC' as a TIMESTAMP value.
In [81]:
from verticapy import *
df = tablesample({"x": [1, 2, 3, 4]}).to_vdf()
display(df)
In [82]:
# Importing the stats module
import verticapy.stats as st
# Using the getutcdate function
df["date"] = st.getutcdate()
display(df)
