&
Best unofficial Apache Server developers community
Username
Remember me?
Password
Forgot password?
Create an account
List archives
Videos
Answers
Questions
Unanswered
Tags
Ask Question
datetime
-1
votes
5
answers
32
views
Which is Quicker: DateTime.TryParse or Regex
In .NET, to determine whether a supplied string is a date, which one is quicker: using DateTime to cast it to a date, or using a regular expression…
c#
.net
regex
datetime
asked
June 22, 2011 6:41 am CDT
Brian
0
votes
1
answer
20
views
Find new records for each of the past n months in PostgreSQL
I have a table of records with a createddate in them. I would like to return the new records for each of the last 6 calendar months, including the…
postgresql
datetime
asked
June 21, 2011 1:41 pm CDT
nycdan
0
votes
2
answers
33
views
Best practice for a specific MySQL date query situation
I need to implement a rather complex query based on several date options in Zend / MySQL and would be glad to get some advice from people who are…
php
mysql
zend-framework
datetime
date
asked
June 20, 2011 11:27 am CDT
arnekolja
0
votes
2
answers
25
views
MySQL DATETIME DIFF query
I have a MySQL query that runs via cron every 30 minutes to delete old property listings, the query is: DELETE FROM $wpdb->posts WHERE post_type…
mysql
datetime
diff
asked
June 20, 2011 6:47 am CDT
Martin
0
votes
3
answers
35
views
SQL and PHP datetime...most direct method
I'm pulling from a datetime formatted field with mysql. I'm grabbing it with PHP, and I'm echoing it. I need to change the format so it is human…
php
mysql
datetime
asked
June 18, 2011 11:49 am CDT
spork141
0
votes
4
answers
32
views
Convert datetime to another format with php?
I'm looking for a simple solution. Here is my date: 06/16/2011 22:12:10 But mysql expects: 2011-06-16 22:12:10 Alternatively is there something I…
php
mysql
datetime
asked
June 18, 2011 10:11 am CDT
Zenph
0
votes
4
answers
35
views
SQL - Select entries more than 1 day old. error #1305 Function doesn't exist
for a basic SQL command via PHPMyAdmin in MySQL I want to select items more than 1 day old. I'm getting a basic error saying that there's a SQL…
mysql
sql
datetime
phpmyadmin
asked
June 17, 2011 3:01 pm CDT
Jamison
0
votes
2
answers
31
views
How to compute extra pay in night shifts and on sundays
I did a table in MySQL storing start and end times of working shifts in datetime type. I need to calculate two things from them (in MySQL). First of…
mysql
datetime
calendar
shift
overlapping
asked
June 17, 2011 3:42 am CDT
MDV
2
votes
2
answers
35
views
Represent a time with no date in ruby
Is there a way to represent a time in ruby without having a Date attached? I am doing a timetracking application and I only need in/out times, there…
mysql
ruby-on-rails
ruby
datetime
time
asked
June 15, 2011 10:11 am CDT
loosecannon
1
vote
2
answers
33
views
CodeIgniter/JQuery/MySQL DateTime
Within my CodeIgniter app, I'm using a Jquery calendar pop-up that also captures time as set by the user, so the end result looks like: MM-DD-YYYY…
javascript
jquery
mysql
datetime
codeigniter
asked
June 14, 2011 10:03 am CDT
user464180
1
vote
2
answers
36
views
PHP / MySQL - current date/time in timezone
How do request the date/time in PHP or MySQL within a timezone? I'd rather do it on the PHP side, but also would like to know if its possible in…
php
mysql
datetime
date
timezone
asked
June 13, 2011 3:48 pm CDT
tyndall
0
votes
2
answers
35
views
Best way to extract datetime from string in python
I have a script that is parsing out fields within email headers that represent dates and times. Some examples of these strings are as follows: Fri,…
python
regex
datetime
asked
June 10, 2011 8:42 am CDT
ajt
1
vote
1
answer
33
views
Can MySQL properly sort DATETIME columns when the values have been formatted with DATE_FORMAT?
Pretty much self-explanatory. Can MySQL sort dates (i.e. not alphabetically but like a date) when the dates have been formatted with DATE_FORMAT ?…
mysql
datetime
date
asked
June 9, 2011 8:19 pm CDT
SimpleCoder
2
votes
5
answers
30
views
How to find if a date fits an interval in either PHP or MySQL?
Let's say I have a datetime, June 16 2011 at 7:00. I want to be able to check at, say, August 5 2011 at 7:00 and be able to tell that it is exactly…
php
mysql
datetime
intervals
asked
June 9, 2011 3:49 pm CDT
Andrew
0
votes
2
answers
28
views
How to set default value of MySQL DateTime ( not TIMESTAMP ) to NOW() or Current_DateTIme?
I have a table with column CreatedDate of data type datetime and i want to be able to set its default value to current DateTime how do i do it? I…
mysql
datetime
default
current
now
asked
June 8, 2011 2:02 pm CDT
Kathy
0
votes
2
answers
26
views
Get data from sqlite database per day DATE TIME.
I have a sqlite database. I have three columns:_id, date, value. I now want to extract a count of the _id:s depending on the day in the date, and…
android
sqlite
datetime
asked
June 8, 2011 1:11 pm CDT
kakka47
0
votes
2
answers
31
views
MySQL date formatting
I have the following MySQL. SELECT `outputtable`.`date`, count(*) as `count` FROM ( SELECT CONCAT(DATE(`mytable`.`starttime`),'…
mysql
datetime
asked
June 8, 2011 9:18 am CDT
Hadleigh
2
votes
3
answers
44
views
Select from mysql database where day php
so right now I'm storing a the date of each search done on my site like this 2011-06-07 21:44:01 now I'd like to execute a query to select all…
php
mysql
datetime
asked
June 7, 2011 8:36 pm CDT
Belgin Fish
2
votes
2
answers
28
views
What is the behavior for the minus operator between two datetimes in MySQL?
The difference between to datetimes is the number of seconds between them. This seems to work only if the datetimes occur in the same hour. Why is…
mysql
datetime
asked
June 6, 2011 11:55 am CDT
lal00
0
votes
2
answers
41
views
MySQL Query: Grouping Unix Timestamp by Day Producing Unevenly Spaced Groups
I'm using a MySQL query to pull a range of datetimes as a Unix Timestamp (because I'll be converting them to Javascript time). I'm grouping by…
mysql
sql
datetime
timestamp
group
asked
June 6, 2011 6:28 am CDT
Matt
Pages
:
1
|
2
|
3
|
4
|
5
>
[9]
168
datetime
Tagged:
datetime
Related Tags
mysql
× 132
php
× 59
date
× 27
sql
× 22
sqlite
× 16
time
× 11
timestamp
× 10
regex
× 7
timezone
× 7
c#
× 7
postgresql
× 7
mongodb
× 5
codeigniter
× 4
android
× 4
python
× 4
ruby
× 3
jquery
× 3
query
× 3
.net
× 3
zend-framework
× 3
sorting
× 3
php5
× 3
string
× 3
ruby-on-rails
× 3
compare
× 2
parsing
× 2
group-by
× 2
now
× 2
default
× 2
English
Russian
Copyright 2007 - 2012
Best unofficial Apache Server developers community
Privacy policy