Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Not able to find dateTime value using sql

by sundialsvc4 (Abbot)
on Nov 14, 2012 at 22:27 UTC ( #1003896=note: print w/replies, xml ) Need Help??


in reply to Not able to find dateTime value using sql

The entire problem here (seems to me at first glance to be) a matter of, first, getting the executed command to generate the full datetime value as a string; and, second, interpreting that string.   All of which ceases to be a problem when you approach the task using DBI.   Now, you can obtain the value directly, i.e. in binary form.   And you’re not executing any shell-command to do it, which can very quickly become prohibitive, say in a loop.   So, to me, this logic as-conceived definitely should be abandoned, not patched.

  • Comment on Re: Not able to find dateTime value using sql

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2016-10-01 20:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (7 votes). Check out past polls.