Re: [Harbour] datetime conversion functions request

2009-10-19 Thread Francesco Saverio Giudice
Hi Viktor, Il 19/10/2009 21.23, Viktor Szakáts ha scritto: [snip] So, sorry to jump in, but we have functions to convert time to any user supplied format, plus now we have function to strip date part from timestamp which seems to cover nicely all formatting needs. I don't agree to add new "help

Re: [Harbour] datetime conversion functions request

2009-10-19 Thread Viktor Szakáts
Hi All, I don't want to force anyone to use any time format ;-) What I was thinking was an equivalent function for TIME() that is a standard Clipper function also if surely will be useful both way: with and without milliseconds. [snip] Probably, my thought, it will be useful to have a fu

Re: [Harbour] datetime conversion functions request

2009-10-19 Thread Francesco Saverio Giudice
Hi Przemek, Il 19/10/2009 14.34, Przemysław Czerpak ha scritto: [snip] Pleas note that you requested about sth what depends on local preferences rather then universal functionality. You want to extract time from timestamp value as string in format "hh:mm:ss". I would preffer numeric value compa

Re: [Harbour] datetime conversion functions request

2009-10-19 Thread Przemysław Czerpak
On Mon, 19 Oct 2009, Francesco Saverio Giudice wrote: Hi, > Infact is not for core code, but for functions that have "old" > parameters separated like MyFunc( dDate, cTime ) and in case of > explicit check of date and time like: >? "cTime = ", cTime := Time() >? "dDate = ", dDat

Re: [Harbour] datetime conversion functions request

2009-10-19 Thread Francesco Saverio Giudice
Hi Przemek, Il 19/10/2009 9.49, Przemysław Czerpak ha scritto: On Sun, 18 Oct 2009, Francesco Saverio Giudice wrote: Hi, could you kindly add these functions ? HB_TTOD( tTimeStamp ) -> dDate I'll add it though it's interesting to know why you need it. You can you tTimeStamp instead of dDate

Re: [Harbour] datetime conversion functions request

2009-10-19 Thread Przemysław Czerpak
On Sun, 18 Oct 2009, Francesco Saverio Giudice wrote: Hi, > could you kindly add these functions ? > HB_TTOD( tTimeStamp ) -> dDate I'll add it though it's interesting to know why you need it. You can you tTimeStamp instead of dDate in all places so if you found something in core code which need