Ask a Question related to Informix, Design and Development.
-
Bryce Stenberg #1
RE: to_date function: format parameter for fractions of a second?
Thanks June, that answer works a treat.
Regards,
Bryce Stenberg.
Harness Racing New Zealand computer department,
emailto:bryce@hrnz.co.nz
> -----Original Message-----
> From: June Hunt [mailto:june_c_hunt@hotmail.com]
> Sent: Wednesday, 30 July 2003 7:20 a.m.
> To: Bryce Stenberg
> Subject: Re: to_date function: format parameter for fractions of a
> second?
>
>
> Building on something that Jonathan Leffler suggested back on
> 2002-11-14
> (see Re: merge DATE and TIME to DATETIME), the following
> might be helpful:
>
> UPDATE xxx SET new_date = EXTEND(my_date, YEAR TO SECOND) +
> (INTERVAL(00:00:00) HOUR TO SECOND + my_time)
>
> I ran a quick I4GL test with this code, and it worked for me
> against an
> older SE database.
>
> --
> June Hunt
>
DISCLAIMER: [url]http://www.hrnz.co.nz/eDisclaimer.htm[/url]
sending to informix-list
Bryce Stenberg Guest
-
Class as a Function Parameter...
Hello, I'm having a problem with a custom object that I have setup in a Utilities DLL for my application call UserInfo. I use this custom Object... -
#26207 [NEW]: date(): add format parameter for colons in UTC offset
From: danielc at analysisandsolutions dot com Operating system: irrelevant PHP version: Irrelevant PHP Bug Type: ... -
Function parameter
Hi, I'm new to PHP and have a small problem. Assume you define a function that is called with a constant as parameter. Within that function,... -
variable in function parameter
Hello. Let's say I have something like this: function aa($test) { $a = 8; echo $test; } $a = 2; aa("a is ". ($a>5?"greater":"equal to or... -
to_date function: format parameter for fractions of a second?
Hi, I am trying to select values from a date field and time field ( char(8) ) to combine into a datetime field. But I'm having problems with...



Reply With Quote

