>but I do know that on 4.0.5 I was not
>finding the same number of records with
> a SQL query that the User
>tool would find with *apparently* the same query.
Don't forget the user tool does a time conversion so I see local date time.
When you do a SQL statement, you see the GMT dates that the server converts
everything to prior to storage......
Matt
Dave Saville
LWORLD.COM> cc:
Sent by: "Action Subject: Re: $DATE$ translating to Timestamp ?
Request System
discussion
list(ARSList)"
.ORG>
07/31/2003 03:26
AM
Please respond
to arslist
On Mon, 28 Jul 2003 18:29:11 +0200, Kern Robert (SBA) wrote:
>Hello list,
>
>something I have noticed, when using the $DATE$ keyword over at some FB5.1
variable qualification.
>
>
>Some qualification like:
>('Created by group' = "RBG HelpDesk") AND ('Creation Date Report' = $DATE
$)
>
>Translates over at the SQL to:
>[...] WHERE ((T398.C536870946 = 'RBG HelpDesk') AND (T398.C536871082 =
1059343200))
>
>What is interesting is the 1059343200. When using a formula to translate
it to the "normal" date, it would actually be something like "28.07.2003
23:00". ...saying that, the system uses the full timestamp (at least to my
understanding), including the time.
You don't say what the date was when you ran it but it looks like it
defaulted to midnight and then got set back an hour for DST or
something.
Something to watch when checking timestamps at the SQL level is that
they are accurate to seconds - but remedy workflow comparisons appear
to work to the nearest minute - or maybe it was rounded down to the
nearest minute I forget - but I do know that on 4.0.5 I was not
finding the same number of records with a SQL query that the User
tool would find with *apparently* the same query.
HTH
--
Regards
Dave Saville
UNSUBSCRIBE or access ARSList Archives at http://www.ARSLIST.org (Support:
mailto:support@arslist.org ) ARSList is hosted by QMX SUPPORT SERVICES at
www.QMXS.com