Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Date/Time Parse with time exemptions and SQL querying

by guice (Scribe)
on Sep 02, 2005 at 18:28 UTC ( #488732=note: print w/ replies, xml ) Need Help??


in reply to Re: Date/Time Parse with time exemptions and SQL querying
in thread Date/Time Parse with time exemptions and SQL querying

That's actually helpful. Forgot about using the MySQL functions to narrow down the date/time like that. As for your question:
It's really going to be a function of what your user interface is -- you mentioned Excel, but then said it wasn't, and you also mentioned it's in a SQL table. I would assume that you'd use a 'date' field, so it's just a matter of dealing with the rest of it.
The input date/time formats will be decided by myself. The excel is just where I have the initial list of times. I do apologize for mentioning it. The problem with the Excel file is 1; parsing it. And 2; data's not guarentee concistant. So to get around this limitation, I'm creating my own data storeage format for this. I'm debating on storing a time with each day of the week or doing some M-F type storage and parsing that out. All one line? Multiple lines, etc...

-- philip
We put the 'K' in kwality!

  • Comment on Re^2: Date/Time Parse with time exemptions and SQL querying

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://488732]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2016-06-26 14:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (330 votes). Check out past polls.