and with the PB function Now() (you can see the code below).
Results:
ls_t1 shows 2000-11-03 18:45:28.000224
ls_t2 shows 2000-11-03 18:45:28.224000
The milliseconds are with 3 digits precision only, the zeroes remain in
every test same as before.
How can I get the full precision ?
Thank You for helping me.
Regards
Alfons Götz
systemtime lstr_systime
string ls_timestamp, ls_t1, ls_t2
GetLocalTime( lstr_systime )
ls_timestamp = string(lstr_systime.year,'0000') + "-" &
+ string(lstr_systime.month, '00') + "-" &
+ string(lstr_systime.day, '00') + " " &
+ string(lstr_systime.hour, '00') + ":" &
+ string(lstr_systime.minute, '00') + ":" &
+ string(lstr_systime.second, '00') + "." &
+ string(lstr_systime.millisecond, '000000')
ldtm_timestamp = datetime(ls_timestamp)
ls_t1 = ls_timestamp
ls_timestamp = string( Now(), 'yyyy-mm-dd hh:mm:ss.ffffff' )
ls_t2 = ls_timestamp
Messagebox("Timestamp", ls_t1 + " " + ls_t2)
It is most likely that your message has not actually
been posted on the Sybase newsgroup server. There
are a number of reasons for that, most frequently
because:
1. You attempted to post through a news service,
such as deja.com. The Sybase newsgroup server does
not accept feed from such services for most of the
newsgroups sections.
2. Your ISP is showing the Sybase newsgroups on their
news servers, and you attempt to post to them through
your ISP. Generally, while your ISP can copy the
messages to their servers, they have not properly
configured themselves to allow posting back to the
server.
There are three primary means for ensuring that your
message gets properly posted to the Sybase newsgroups:
1. Connect directly to the Sybase newsgroups server:
news://forums.sybase.com
2. Use the web based newsreader at www.pfcguide.com.
This web newsreader is properly configured to post to
the server.
http://www.pfcguide.com/_newsgroups/group_list.asp
3. Use the web based newsreader at my.sybase.com.
It is also properly configured to post to the server.
http://my.sybase.com/detail_list/1,3153,1599,00.html
The latter two options are particularly important if
you are behind a firewall that does not allow you to
access newsgroup servers directly.
You might also want to review the following technotes:
How to use Sybase Newsgroups
http://my.sybase.com/detail/1,3151,47613,00.html
Configuring your Newsreader for the Sybase News Service
http://my.sybase.com/detail/1,3151,47611,00.html
--
Bruce Armstrong [TeamSybase]
Preach the gospel at all times.
If necessary, use words. [Francis of Assisi]
http://www.harvest.org/knowgod/index.htm
Sent via Deja.com http://www.deja.com/
Before you buy.