Based on two fileds i need to calculate the days.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 05:30 AM
Hi there,
i have two fields start date time and end date time, the users will fill the form in portal they will select start date and end date, now form is saved on work order table (wm_task) , i need to calculate days based on days i need to create work order task, how can i achive this.
how can i achive to calcuate duration between fields, i needs days .
any one help me source code on this requirement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 05:34 AM
Hi @Gillerla Rajesh,
please check below link:
Thank you, please make helpful if you accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2024 03:48 AM
i done my code it's shoiwing days with decimal number, i don't need decimal number , how can i restrict
in syslog i am getting correct only but when i am setting the value it will taking decimal number
Please find the source code for reference let me know i need to change anything in the script.
script include:
---------------------