Re: [HS] MySQL : manipulation arithmétique su r des "time"

Pàgina inicial

Reply to this message
Autor: Patrice Karatchentzeff
Data:  
CC: ML Guilde
Assumpte: Re: [HS] MySQL : manipulation arithmétique su r des "time"
Olivier Guerrier écrivait :

[...]

 > mysql> select SEC_TO_TIME(TIME_TO_SEC("19:00:00")-TIME_TO_SEC("16:34:00"));
 > +--------------------------------------------------------------+
 > | SEC_TO_TIME(TIME_TO_SEC("19:00:00")-TIME_TO_SEC("16:34:00")) |
 > +--------------------------------------------------------------+
 > | 02:26:00                                                     |
 > +--------------------------------------------------------------+


Impec... C'est encore plus tordu que Perl mais cela me donne le
résultat.

Merci

PK


--
      |\      _,,,---,,_       Patrice KARATCHENTZEFF
ZZZzz /,`.-'`'    -.  ;-;;,_   mailto:p.karatchentzeff@free.fr
     |,4-  ) )-,_. ,\ (  `'-'  http://p.karatchentzeff.free.fr
    '---''(_/--'  `-'\_)