Populate last day of month in date/time field which should be depend on user time zone

lucky24
Tera Contributor

Hi Team,

field -

due date - date field on the hr task table

subject person - reference field and referring to the user table

subject person hire date - date field on the user table

 

Currently, I am working on the HR task in scoped application.

In the HR task, there is a due date field that I want to auto-populate as the last day of the month which should depend on the subject person's hire date and his time zone.

Suppose the subject person's hire date is "10/02/2018" so in due date should be populated as 28/02/2018.

If the subject person's hire date is "10/04/2020" so in due date should be populated as 31/04/2020.

 

How can I resolve it?

 

 

1 REPLY 1