
Creator III
2019-02-01
01:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Subtract hours from timestamp
Hi guys,
How to subtract 5 hours from a timestamp filed named DateAndTime? Something like:
Timestamp(DateAndTime-05:00:00,'MM/DD/YYYY hh:mm:ss')
Thanks in advance!
6,035 Views
2 Solutions
Accepted Solutions


Partner Ambassador/MVP
2019-02-01
01:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content


Champion III
2019-02-01
02:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rob,
May be we need to use Timestamp around your expr to get the datetime.
Timestamp(DateAndTime - MakeTime(5))
May be we need to use Timestamp around your expr to get the datetime.
Timestamp(DateAndTime - MakeTime(5))
2 Replies


Partner Ambassador/MVP
2019-02-01
01:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
DateAndTime - MakeTime(5)
-Rob


Champion III
2019-02-01
02:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rob,
May be we need to use Timestamp around your expr to get the datetime.
Timestamp(DateAndTime - MakeTime(5))
May be we need to use Timestamp around your expr to get the datetime.
Timestamp(DateAndTime - MakeTime(5))
