[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Convert UK date/time to MYSQL format.

Posted on 2003-10-23
2
Medium Priority
?
477 Views
Last Modified: 2013-12-24
hi lads,

basically i want to convert a form field containing a date in the format:

31-12-2003 23:59:59

into this format

2003-12-31 23:59:59

any ideas? thanks :)
0
Comment
Question by:MoOTottle
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
MoOTottle earned 0 total points
ID: 9605532
job done.

<cfset currentdate=Now()>
<cfset currentdate=DateFormat(currentdate, "yyyy-mm-d h:m:s")>
<cfoutput>#Currentdate#</cfoutput>
0
 
LVL 19

Expert Comment

by:cheekycj
ID: 9606016
Please ask Customer Service to PAQ this question for you so you can get your points back.

CJ
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question