Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#1 2019-09-12 10:54:22

Patryx
Member
Registered: 2019-03-25

How to read datetime from timestamp defined as bigint in your RS db?

Hi,
In PostgreSQL database you have a table "rs_revision" with column timestamp given as BIGINT.
How can I read this column to get right timestamp with date and time. I tried to_timestamp(rs_revision.timestamp) but it doesn't return correct and readable date and time.

Thanks in advance,
Patryk

Offline

#2 2019-09-25 06:48:50

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: How to read datetime from timestamp defined as bigint in your RS db?

Hi Patryx,

we use envers for revision management. You can read some information on this here: https://docs.jboss.org/hibernate/envers … onlog.html
Here you can see an example of conversion of the timestamp to date: https://developer.jboss.org/thread/176684

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB