Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Julian date in BMC Remedy ARS

Hi, I'm trying to convert a Julian date (like this 2455825) to a regular date (20/09/2011), but the formulas I have found are not working for me. Can you help me why is different and what can I do?

I'm working with BMC Remedy ARS application on a SQL Server database.

Thanks!

1 Solution

Accepted Solutions
rbecher
MVP
MVP

Hi,

I would subtract the offset 2415019 (equivalent to 30.12.1899, which is day 0 in QlikView):

Date(JulianDateField - 2415019)

You probaly have to adjust the timezone since Julian Date is in UTC.

- Ralf

Astrato.io Head of R&D

View solution in original post

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See Julian Date Conversion


talk is cheap, supply exceeds demand
Not applicable
Author

I've tried that, but it is giving me 04/04/4357 instead of 20/09/2011.

I used:

date(yearstart(makedate((((Fechainicio - fmod(Fechainicio,1000)) / 1000) + 1900))) + (fmod(Fechainicio,1000) - 1))

Am I doing something wrong or missing something?

Thanks!

rbecher
MVP
MVP

Hi,

I would subtract the offset 2415019 (equivalent to 30.12.1899, which is day 0 in QlikView):

Date(JulianDateField - 2415019)

You probaly have to adjust the timezone since Julian Date is in UTC.

- Ralf

Astrato.io Head of R&D