0e8c6557b978e4abc0e712987104a9dd6e5418a6
* harbour/src/rtl/dateshb.c
! fixed HB_TTOD() and HB_DTOT() results - they were reverted by mistake
+ added support for optional second parameter in HB_DTOT() function with
time as numeric value in second() like representation or as character
string with HH:MM[:S[S][.f[f[f[f]]]]] [PM|AM] representation, i.e.:
? HB_DATETIME()
? HB_DTOT( date(), seconds() )
? HB_DTOT( date(), time() )
+ added support for optional second parameter passed by reference in
HB_TTOD() function. If given then this functions stores in it number
of seconds in given day specified by timestamp value, i.e.:
dDate := HB_TTOD( HB_DATETIME(), @nSec )
gives similar functionality to:
dDate := date()
nSec := seconds()
+ added support for optional 3-rd parameter in HB_TTOD() functions
with timestamp format. If given then this function stores time
part in second parameter as formatted string value. For empty
string _SET_TIMEFORMAT is used, i.e.:
dDate := HB_TTOD( HB_DATETIME(), @cTime, "hh:mm:ss" )
Description
Harbour Core — Reference source for Five development
Languages
C
80.3%
xBase
17.8%
Makefile
0.6%
C++
0.4%
Harbour
0.4%
Other
0.3%