The CFINPUT TYPE=DATEFIELD does not want to accept the date from the database

I got a weird problem which I guess can be just a way to
explain to the server how to interpret the value. I am using
ColdFusion 8 with SQL 2005 Express. In my table, the field is a
DATETIME field and shows the date with time (eg. 2007-07-23
00:00:00).
In my form, when I am adding using the DATEFIELD as the type
for CFINPUT, it records the date correctly. But when I use the
EDIT.cfm form and try to put the value from the database into the
DATEFIELD CFINPUT, the server generate an error. Here is the error:
2007-07-23 00:00:00/0 is an invalid date or time string.
Of course, I tried many things but mostly I tried to force
the format of the date with DATEFORMAT(qGetNewsInfos.dtIssued,
'mm/dd/yyyy') and many more format but without success.
Is anybody know the trick how to use a date into a
<CFINPUT TYPE=DATEFIELD>?

I tried the method like this and still got the same problem:
<cfinput type="datefield" value="#DateFormat(now(),
'mm/dd/yyyy')#">
The system return this error:
08/13/2007 is an invalid date or time string.
I can use this method to record the date of parution of the
News but cannot use it to put a vlue in the CFINPUT? This is not
making any senses!

Similar Messages

  • I've always had PSE 7.0, but I guess my computer has an issue reading the Installation CD I have for it, so I tried to manually download it from the official website, but when I go trough the whole process, it does not want to accept my product key number

    I've always had PSE 7.0, but I guess my computer has an issue reading the Installation CD I have for it, so I tried to manually download it from the official website, but when I go trough the whole process, it does not want to accept my product key number... What do I do?
    It's either my computer because it's old, or something is wrong with my cd installer. I don't know, but I just want to install my PSE 7.0, but it does not work even on the official website with my product key #.
    PLZ HELP ME!

    I've always had PSE 7.0, but I guess my computer has an issue reading the Installation CD I have for it, so I tried to manually download it from the official website, but when I go trough the whole process, it does not want to accept my product key number... What do I do?
    It's either my computer because it's old, or something is wrong with my cd installer. I don't know, but I just want to install my PSE 7.0, but it does not work even on the official website with my product key #.
    PLZ HELP ME!

  • I connect my Macbook 13" to my thunderbolt to display on my HD television but it keeps asking for a KeyChain password for "user-hp". My key keychain password is nothing but it does not want to accept and not display my screen to the Television. Suggestion

    I connect my Macbook 13" to my thunderbolt to display on my HD television but it keeps asking for a KeyChain password for "user-hp". My key keychain password is nothing but it does not want to accept and not display my screen to the Television. Suggestion

    Apple support article:
    Mail Keeps Asking for Password
    Maybe this will help. If you monitor the "More Like This" box (top right), other threads appear. Opening them usually displays other threads.
    https://discussions.apple.com/message/20549403#20549403

  • I recently purchased a MacBook Pro Retina Display. In addition, I picked up a USB Superdrive. It appears the Superdrive does not want to accept my discs and just ejects them. What am I doing wrong?

    I recently purchased a MacBook Pro Retina Display. In addition, I picked up a USB Superdrive. It appears the Superdrive does not want to accept my discs and just ejects them. What am I doing wrong?

    You should also ask this in the MacBook Pro forum. This is the forum for the white and black plastic MacBooks that were discontinued in 2010. You should also post this question there to increase your chances of getting an answer.
    https://discussions.apple.com/community/notebooks/macbook_pro

  • I want to upload a Banner to my iTunes U page. The banner file has all the requirements like as, kind, size, frame, and etc. Infortunately,  I could not upload the file. It does not show in Provider Page Configuration or the preview.   Someone could help

    I want to upload a Banner to my iTunes U page.
    The banner file has all the requirements like as, kind, size, frame, and etc.
    Infortunately,  I could not upload the file. It does not show in Provider Page Configuration or the preview.
    Someone could help me?

    Sounds like a driver issue. I never tested in bridge, so I could be wrong. But it sounds to me that when you are connected to that screen, your settings are not set to the full resolution of that screen.

  • HT5192 I need help? The iOS 5.1 does not want to download onto my ipad 2! Please help.

    I need help? The iOS 5.1 does not want to download onto my ipad 2! Please help.

    Make sure you are using either OpenDNS or Google Public DNS. It may in fact resolve it, but there could be other factors or causes.

  • HT1212 what should I do if my Ipod touch show me the appel sign and does not want to go further than that

    please asking some help
    my ipod touch felt down and since show me the appel sign and does not want to go further but it's charging correctly. when I connect it to the computer it's ask for a passcode that i dont remember.

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • DW CS5 does not want to accept only local server

    Hi there.
    DW CS5, PHP & mySQL.
    I want to set up a site on my localhost, but DW does not want to accept a localhost only? It makes an orange star next to "Servers" in the site setup.
    Am I doing something wrong? Please advise.
    Regards,
    Deon

    Sorry, forgot to mention: Windows 7 and I have EasyPHP http://www.easyphp.org which is loading PHP and mySql for me.
    Regards,
    Deon

  • Firefox does not appear on screen when started from the start menu, but task manager says the process is running

    Firefox does not appear on screen when started from the start menu or the shortcuts, but task manager says the process is running.

    No - I get the message basically saying "Can't run program while Firefox is running. Please close down Firefox & try again".
    I rebooted my computer and it all works now - but that's weird it was happening before. Kinda weirded out that it happened at all.
    To avoid that happening again, I still wanna know what to do to avoid it or fix it for next time. Thanks

  • Comcast just replaced my cable modem/wireless router.  All devices connect properly except my iPhone 4.  It shows itself to be connected to the network, but it does not load any web page.  Resetting the iPhone does not solve the problem.  Any suggestions?

    Comcast just replaced my cable modem/wireless router.  All devices connect properly except my iPhone 4.  It shows itself to be connected to the network, but it does not load any web page.  Resetting the iPhone does not solve the problem.  Any suggestions?

    Thank you for your response.
    I had rebooted the router (several times, actually), to no avail.
    I do not know the answer to whether MAC filtering is enabled on the router.  Have tried to find info about that, but unsuccessfully.  Router is an Arris TG852G, supplied by Comcast.  I would be surprised if MAC filtering were the issue, since in addition to the computer, we have successfully connected several other devices to the wifi, namely an iPad, a Android phone and a Kindle Fire - all able to access internet pages through the wifi, and all without a need to add the device to a MAC address whitelist.  To add to the mystery, the Comcast tech was able to connect his iPhone 4 to my network and access web pages.  He was unable to connect my iPhone, however, after trying for some time.
    I seem to recall reading somewhere that an iPhone cannot connect to a wireless "n" router, only "b" or "g".  The Arris router is described as a n/g/b compliant router, and as noted the Comcast tech was able to connect his iPhone, so don't know why that would be the issue here.
    By the way, my iPhone does connect wirelessly to my network at home.  This difficulty is at a second home.
    Any other thoughts would be appreciated.

  • HP-photosmart 6280 all-in-one with osx 10.9 now does not show options for printing photos from the photo tray.

    Using osx mavericks on macbook pro.  My printer for HP-photosmart 6280 all-in-one now does not show options for printing photos from the photo tray.

    What router? Have you restarted the router?
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • My settings "general". Does not show a"update software " choice from the menu?

    My settings "general". Does not show a"update software " choice from the menu?  I cannot find what iOS software I'm currently using or what iPad I have

    The option to update without the computer (Over the air) was made available with iOS 5. If your iDevice is using a version of iOS lower than 5, you will need to use iTunes on your syncing computer to perform the upgrade. Use the Apple link below as a guide for the upgrade.
    http://support.apple.com/kb/HT4972
    Also read the instructions from the section entitled "Update your device using iTunes" at the link below.
    http://support.apple.com/kb/HT4623
    Information regarding transferring purchases from your iDevice to iTunes on your syncing computer can be found at the link below.
    http://support.apple.com/kb/ht1848

  • Need solution for the following sync error: "iTunes could not sync calendars to the iPad "iPad name" because an error occurred while sending data from the iPad"

    Need solution for the following sync error: "iTunes could not sync calendars to the iPad "iPad name" because an error occurred while sending data from the iPad"

    I want to add that I deleted all the old back-ups and created a new back-up without any issues except sync problem.

  • HT5163 Hi. Can u use a paperclip instead of the sim tool or will it damage the ipad? There does not appear to be a tool in the box!

    There does not appear to be a tool in the box. Can you use a paperclip on the ipad? Will it damage it?
    Do you insert it into the edge of the slot or in the hole?

    Hello Dan,
    Welcome to the Apple Support Communities. Yes you can use a paperclip to eject the SIM card, you just simply press in the tiny hole of the SIM card tray.
    iPhone and iPad: How to remove the SIM card
    http://support.apple.com/kb/HT5163
    Regards,
    -Norm G.

  • In 10.10 the "recent documents" pulldown does not display actual recent items--it shows the same items time after time. How can I fix that?

    In previous versions of OS 10, the "recent items" pull down from the Apple icon (top left) actually showed recent items.  In this version, 10.10, the same items display time after time rather than displaying recent items.  How can this be fixed?

    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Containers/com.apple.corerecents.recentsd
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Move the selected item to the Trash. Log out or restart the computer and test.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

Maybe you are looking for

  • Video very dark in FCP X - ICC profile issue?

    I am a new user for Final Cut Pro X.  I have been using iMovie to edit movies. When I imported a project from iMovie, I immediately noticed that the video was significantly darker when I view it.  After Googling it a bit, I noticed one person that su

  • PO item rejected  -- how to block requisition item automatically

    Hi SAP friends! Purchase order items can be rejected by vendor, IDOC ORDERSP. This leads to the PO being 1. deleted 2. Rejection Indicator is set and Order Acknowledgment Number is set ( REJ XXXXXXX). The corrosponding purchase requisition is opened

  • TC Initial Backup OK - Now unable to complete - error while copying

    Time Capsule I want this to work well. It's like magic, when it works. I did the initial backup successfully - ethernet cable - and I can enter Time Machine and go back to March 6. But it will not back up now with the "Time Machine Error: Unable to c

  • Exceute in Backround option(SAP tables) error in BODS 4.2

    Dear All We are using BODS 4.2 SP1 Our R3 server is 4.7 release 620 We have a simple dataflow where we pull data from sap tables,pass it from query transform and then load it in the Oracle Database. In the SAP datastore configuration,we have selected

  • Disk memory usage in CUIC 8.0

    Hi all, Today we have upgraded CUIC 8.0.1 to CUIC 8.0.3 Standard Edition. Just after upgrade I issued the CLI command "show status" and got the following result:                                 Total               Free                   Used Disk/act