Re: how to get a number of seconds in some interval ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Στις Monday 12 May 2008 16:44:16 ο/η Julius Tuskenis έγραψε:
> Hello,
> 
> Is there a good method of knowing how mutch seconds does some interval 
> have?? I tried my_interval / (interval '1 second'), but there is no 
> operator interval / interval defines (I wonder why).
> Is there a method to do so?
> 
smth like
dynacom=# SELECT extract(epoch from '49 hours 0 mins 12 seconds'::interval);

> -- 
> Julius Tuskenis
> Programavimo skyriaus vadovas
> UAB nSoft
> mob. +37068233050
> 
> 



-- 
Achilleas Mantzios


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux