Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date Diff
Message
 
 
À
09/08/2005 15:52:47
Anderson Girardi
Athenas Automação de Escritório
Porto Alegre, Brésil
Information générale
Forum:
Oracle
Catégorie:
PL/SQL
Titre:
Divers
Thread ID:
01039664
Message ID:
01040414
Vues:
12
>Hello Dear Friends
>
>I do need to format a date diff in follow pattern 'HH:MM', someone can help me?
>
>thanks

When you execute a SELECT command that subtracts one date from another, Oracle will return decimal hours (e.g., 1.1234). You can take the decimal portion of that result and multiply it by 60 to get the minutes, then concatenate that value to the hours portion of the return value.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform