Separate Date and Time field to get just Time value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2017 03:10 PM
Hi All,
I have a Field: Start Date which is a Date Time type. I need a way to separate the Date from time and get just Time value from the field
Am writing the script in Business rules.
Any input will help me solve the issue.
Thanks,
Vtred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2017 06:03 AM
Perfect, This worked Shishir. thank you for response

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2017 02:25 AM
Hi Vt,
Please mark the answer correct to move the thread out from unanswered list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2019 12:28 PM
Hello!
Once you get the time, how can I compare with something like "10:00:00"? I have tried == and indexof but it is not working 😞
var res = current.u_start_date;
var strTime = res.split(' ');
var time= strTime [1];
Thanks!!