Get invited to our slack community and get access to opportunities and data science insights

Blog

day

day(date) – Returns the day of month of the date/timestamp. Platforms: WhereOS, Spark, Hive Class:

dayofmonth

dayofmonth(date) – Returns the day of month of the date/timestamp. Platforms: WhereOS, Spark, Hive Class:

dayofweek

dayofweek(date) – Returns the day of the week for date/timestamp (1 = Sunday, 2 =

date_trunc

date_trunc(fmt, ts) – Returns timestamp `ts` truncated to the unit specified by the format model

datediff

datediff(endDate, startDate) – Returns the number of days from `startDate` to `endDate`. Platforms: WhereOS, Spark,

dateseries

Platforms: WhereOS, Spark, Hive Class: com.whereos.udf.DateSeriesUDF More functions can be added to WhereOS via Python