|
Hi there,
I'm storing a timestamp in a mysql table every time somebody visits the site for the first time.
I wind up with data that looks like this:
2009-08-02 04:08:27 2009-08-02 04:07:47 2009-08-02 05:58:13 2009-08-02 06:28:23 2009-08-02 06:34:22 20...
Started by cosmicbdog on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The range of the return value is 0 to 23 for time this would probably do :... .
How about:
SELECT hour(added), count(*) FROM visits WHERE added >= CURRENT_DATE()-1 GROUP BY hour(added)
Hour(time) : "Returns the hour for time.
|
|
I've got two high school juniors coming in today and I have no idea what to show them.
I'm a software engineer and I'll have them for an hour.
I could run through the basics of VCS, SQL or some web apps we've made, but I'd like to hear some suggestions...
Started by Michael Haren on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Make up a list of things you can show them increasing in complexity - more than 3 hours of material they can do at home and even consider making a CD with free software and the results of your hour in Office
I guess he learnt something....
|
|
Hi, I have a dedicated linux server.
On plesk it shows the correct local time on the server. However, for all the emails on the server for some reason show the time + 1 hour in outlook.
See screenshot beow on outlook
How can I get this fixed so that 1...
Started by ServerDown on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
Are you in the US? Did you update your timezone data files last year when the US government... .
Check to make sure both the server and client using the correct time zone, and that it's set to use/not use day light savings as would be correct for your location .
|
Ask your Facebook Friends
|
I am interested in seeing suggestions for a database design regarding business hours.
It would be quite similar to what Facebook has -
I have a list of businesses, and I would like for users to be able to input multiple sets of available hours for that...
Started by bofe on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Open_hour_range ( id int not null auto_increment primary key, business_id int, day_of_week tinyint Allen's model:
business table:
id - int
business_name - string
open_hour_range table:
id - int.
|
|
Hello,
I'm using C# .NET and I have a Windows Form with a DateTimePicker.
My question is: who can I display on the form the hours and the minuts (to choose) along with the year, mounth and day?
thanks!
Started by menachem on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Also, to make it apply, you'll have to set the DatetimePicker.Format... .
Check out the CustomFormat property: http://msdn.microsoft.com/en-us/library/system.windows.forms.datetimepicker.customformat.aspx
It allows you to set the format however you'd like .
|
|
My wife watched Survivor all season. The final show on 5/13 was 2 hours long and only the first hour recorded. Any idea why? My daughter schedules the same thing on Verizon and got all 2 hours. We have 2 DVRs, not the whole house one.
Started by JerryM on
, 1 posts
by 1 people.
Answer Snippets (Read the full thread at cox):
|
|
Hi,
I need to produce a SQL report showing the number of times a particular event happened in each hourly period during the day. My table has a date/time column on it containing the time the event occurred.
How do I do a count of the number of rows that...
Started by Si Keep on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you need to....
SELECT DATEPART(hh, DateTimeColumn), COUNT(*) FROM TableName GROUP BY DATEPART(hh, DateTimeColumn) ORDER BY DATEPART(hh, DateTimeColumn)
Seans solution will only work with 24 hours worth of data as datepart dd only returns 0-23.
|
|
A thought that's been bouncing around my head recently:
Everyone always massively underestimates how long it's going to take to finish making a game. You start on a project that you think will take a couple of weeks, and after a few months of hard slog...
Started by dishmoth on
, 29 posts
by 10 people.
Answer Snippets (Read the full thread at java-gaming):
Cas Man month = 8 hours a day, 5 days a week?
Quick sums:
Titan Attacks: 2080 hours
Ultratron....
Titan Attacks: about 12 man months
Ultratron: about 10 man months (so far)
Droid Assault: about 18 man months
Revenge of the Titans: about 8 man years .
|
|
Remove this ad http://tvseriesfinale.com/tv-show/nbc-2012-2013-primetime-schedule-23018/
Started by anthonyd46 on
, 14 posts
by 13 people.
Answer Snippets (Read the full thread at survivorsucks):
I haven't hated the two hour format, but it's way to draining, and the post-challenge pre-reveal hour format....
2 hours is way too long and I love this show.
Good idea.
Long overdue.
Show is done in an hour.
|
|
Hello folks! As part of the Cape's 8th Anniversary series, my May 12 show will run from 6AM to 2PM (yes, that is EIGHT SOLID HOURS of DJ Khronos). I will be doing one hour each of eight different bands, but I'm having serious trouble narrowing down the...
Started by DJ Khronos on
, 15 posts
by 14 people.
Answer Snippets (Read the full thread at thecaperadio):
Rather than disappointing one.
All have different desires for this wonderful show's contents.
|