Enter your skills
MYSQL - BETWEEN 2 DATES - Date Field is a String cannot convert to Date Field because of Format 2/27/2012
I have a table in which one of the rows is Dates. Unfortunately the database I uploaded it from used the 2/27/2011 format. Since the format is wrong for mysql ( 2011-2-27 ) I cannot change the type of field too Date. I need a way to convert the string date field to an actual date field so I can use the between command. SELECT * FROM Properties WHERE STR_TO_DATE(`Sold Date`, '%a, %c %b %Y %k:%i:%s') between '2011-06-15' AND '2011-06-21' I've been doing a little reading i'm lost. Ultimately I'm trying to pull anything from Present to the last 6 months date on mysql.
30d+ ago
vWorker
| Expired |
$17
Project
Bid
Featured Members on DoNanza
La Rowick Harrison
Logo Designer
View profile
Julie Sumerta
Blog & Content Writer
View profile
Susan Writes Precise
Virtual Assistant
View profile
Related projects
Search for freelance jobs
Tags:
site
dating
design
Tags:
ghostwriting
research
social networking
dating
Tags:
article
website
dating
Tags:
affiliate marketing
dating
website design
website
Tags:
article
website
dating
Tags:
dating
site
Tags:
advertising
dating
internet marketing
link building
marketing
Tags:
site
programming
php
html
dating
database
mysql
Tags:
website
seo
dating
mysql administration
Tags:
asp.net
programming
visual basic
php
html5
dating
mysql
Tags:
tech
Tags:
internet marketing
social media
dating
Tags:
academic writing
article rewriting
article
blog
ghostwriting
dating
Tags:
css html php
css html
website
html php
DoNanza on Facebook
What freelancers say...
"Thank you for the new clients,
can’t wait for more clients
and advertising. Thank you."
can’t wait for more clients
and advertising. Thank you."
Federico Dayan | Argentina
View profile