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