- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
goyals05
Explorer
11-23-2017
02:50 AM
Hi,
I am setting default time as relative time in time picker.
<input type="time" token="time_token" searchWhenChanged="true">
<label>Reports Time Picker</label>
<default>
<earliest>-3h@h</earliest>
<latest>now</latest>
</default>
</input>
Is it possible to set epoch time of -3hr rather than -3h@h?
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
![kamlesh_vaghela kamlesh_vaghela](https://community.splunk.com/legacyfs/online/avatars/339361.jpg)
kamlesh_vaghela
![SplunkTrust SplunkTrust](/html/@E48BE65924041B382F8C3220FF058B38/rank_icons/splunk-trust-16.png)
SplunkTrust
11-23-2017
08:00 AM
HI @goyals05,
Please check @niketnilay's answer to below question.
https://answers.splunk.com/answers/563884/converting-relative-time-into-epoch-for-the-time-r.html
Thanks
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
![kamlesh_vaghela kamlesh_vaghela](https://community.splunk.com/legacyfs/online/avatars/339361.jpg)
kamlesh_vaghela
![SplunkTrust SplunkTrust](/html/@E48BE65924041B382F8C3220FF058B38/rank_icons/splunk-trust-16.png)
SplunkTrust
11-23-2017
08:00 AM
HI @goyals05,
Please check @niketnilay's answer to below question.
https://answers.splunk.com/answers/563884/converting-relative-time-into-epoch-for-the-time-r.html
Thanks
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
goyals05
Explorer
11-24-2017
04:07 AM
Nice work arond. cheers 🙂
![](/skins/images/5D2DD17C284106BFBF80528D01D8AA1A/responsive_peak/images/icon_anonymous_message.png)