Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PL/SQL Zeitumrechnung

Empfohlene Antworten

Hallo,

ich habe folgendes Situation:

Ich brauche eine Funktion die mir z.B. aus 160 Minuten 02:40 Uhr und aus 02:35 Uhr die genaue Minutenanzahl rausgibt also 155 Minuten.

Ich möchte mir die nicht selber schreiben jetzt wäre meine Frage ob es solch eine Funktion schon gibt ?

Danke schonmal für eure Hilfe.

Ich möchte mir die nicht selber schreiben jetzt wäre meine Frage ob es solch eine Funktion schon gibt ?

Klar. einfache Datumsarethmetik. Zuerst den Zeitanteil nullen, dann die Differenz mit der Originalzeit bilden und last but not least in Minuten umwanden:

SELECT (sysdate-trunc(sysdate))*24*60 from dual;

Ergibt die Anzahl Minuten seit Mitternacht. Anstelle von sysdate verwendest Du dann Deine Datumsspalte.

Dim

Super Danke

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.