IQVIA Interview Question

Regarding custom functions : datetime function and accessing data points.