Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
Kodezilla #21
Re: Date problem
If you're doing it with dropdowns, you'll want to do something like:
<select name="month">
<cfloop from="1" to="12" index="i">
<option value="#i#" <cfif i eq month(now())>selected</cfif>>#monthAsString(i)#
</cfloop>
</select>
Then do something similar for day and year.
After submit, you can use createDate(form.year, form.month, form.day) to put
them back together into a proper date variable.
Kodezilla Guest
-
Print Date Problem
Hi, I am a PC user and have incorporated a document javascript that updates the print date at the bottom of the page to the current date. The... -
date query problem, date in variable
I am using the following query : $query_archief = "SELECT * FROM vacatures where dd_eind_plaatsing < $dd_eind_plaatsing_archief1" note:... -
PHP Date Problem
ok, I have a timestamp column in my db, and I need to check it against the current time in php. I am trying to create an if statement that will do... -
[PHP] date problem
From the documentation: http://ca2.php.net/manual/en/function.mktime.php "Date with year, month and day equal to zero is considered illegal... -
Problem with date('w')
Hi I have a problem with the date function <? $theday = date("Y-m-d", time()); echo date((w), $theday); ?> should print 1 if today is... -
vkunirs #22
Re: Date problem
Hi
still if you dont want any bugs then you can use the JS which will display
some date popups to choose, and select from that popup. so that you dont
require to do any validations.
still If you are using MX7 with flash screens there is a date popups are
available (i think so).
vkunirs Guest
-
larcelarcen #23
Date Problem
Using RemoteObject, I get a date from a SQL Server 2005 database and pass it
through a CFC to Flex.
Using a test file I can generate the output of the CFC and the date shows as
2007-10-27 15:50:00.0 which is the correct date/time in the database.
If I run the swf and immediately call toString() on this returned date in
Flex, it shows Sun Oct 11:50:00 GMT-0400 2007
In other words something has added 4 hours to the date.
Does anyone know what is going on here?
larcelarcen Guest



Reply With Quote

