
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Trying to extract delta data from the table using the Unix Epoch Time
In a table column in oracle it has Unix Epoch time, want to extract one day older data (delta data). How do I filter in Qlik Replicate in the filter condition having Epoch Time. Please advise
We have a table in Source and it has column which stores the time in Unix Timestamp (Epoch) and I want to get the delta data from the table, basically
Today = 1653652800000 - 5/27/2022
$LAST_REFRESH >= ( 1653566400000 - Epoch Time for 5/26/2022)
Ideally the above has to be in Filter condition for Source
$LAST_REFRESH >= (SYSDATE- 1 of Epoch Time value)
How can we dynamically extract the data on a daily basis? Please let me know.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi RamBoopalam,
I see that you have opened a support case for this and I will take and work it with you.
Today = 1653652800000 - 5/27/2022
$LAST_REFRESH >= ( 1653566400000 - Epoch Time for 5/26/2022)
Ideally the above has to be in Filter condition for Source
$LAST_REFRESH >= (SYSDATE- 1 of Epoch Time value)
How can we dynamically extract the data on a daily basis? Please let me know.
Thanks,
Michael

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
here is an article on timestamp filter that may help :

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
$LAST_REFRESH >= ( 1653566400000 - Epoch Time for 5/26/2022)
Ideally the above has to be in Filter condition for Source
$LAST_REFRESH >= (SYSDATE- 1 of Epoch Time value)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @RamBoopalam , copy @Steve_Nguyen @Michael_Litz ,
There should be many different expressions to present 'yesterday' (only date part, means from 0 hour 0 min 0 sec) by Unix Epoch. Because your data contains milliseconds part, one sample for (SYSDATE- 1 of Epoch Time value) is:
(strftime('%s', date('now','localtime')) - 86400)*1000
Additional comments: 1 day = 86400 seconds; Convert to milliseconds by multiplied by 1000.
The screen copy of the demo:
Hope this helps.
Regards,
John.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a ton John, it worked. Really appreciate your help
.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Glad to hear that @RamBoopalam , thanks for your feedback.
