time

Time only pickers for .NET WinForms?

There are tons of good date pickers out there for Windows forms, but I have yet to find any good time only pickers. Any suggestions? EDIT I guess I should be more clear. I am talking about a nicer looking time picker. We use a commercial control suite, and the default time picker looks out of place because it is so plain. ...

Creating container usercontrol with design time support in WPF ?

Hi, I want to create a container usercontrol with design time support in WPF ? How can I do ? ...

Using a duration field in a Rails model

I'm looking for the best way to use a duration field in a Rails model. I would like the format to be HH:MM:SS (ex: 01:30:23). The database in use is sqlite locally and Postgres in production. I would also like to work with this field so I can take a look at all of the objects in the field and come up with the total time of all objec...

Ruby date conversion

I have Fri Jun 26 23:05:00 -0400 2009 Which I'd like to convert into Eastern (US) time. How can this be done with Ruby? Thanks ...

Time tracking software for hourly billing

Greetings, I know this would be rather trivial to develop - however I have a large list of rather trivial projects which should be done so this would just be another. I do free lance work on a variety of different projects. Can anyone suggest to me an application where by I can create projects and state how many hours I worked on the...

Objective-C class time delay?

I was wondering if anyone knows of a class in objective-C that stops/delays the application at a specified amount of time during runtime? I've already looked at the Time Manager and NSTimer and don't see how I could possibly put a delay in there. I've never used these two classes before though, so maybe someone else has and could give me...

get the time offset from GMT from latitude longitude

Is there a way to estimate the offset from GMT (or time zone) from a latitude/longitude? I've seen geonames, but this would need to work long term and we don't really want to rely on a web service. It'd just be used for determining whether to display "today" or "tonight" when giving information to various users so it wouldn't need to b...

Updating time in iphone sdk

Hi, I'm using the code provided below to display time and date. can anyone help me with atuomatically changing the time by seconds and the date by the day? NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init]; [dateFormat setDateFormat:@"yyyy-MM-dd"]; NSDateFormatter *timeFormat = [[NSDateFormatter alloc] init]; [timeFormat set...

What are the free alternatives to basecamp for managing projects?

I just started freelancing after being employed. At my previous job we used basecamp to manage time and what to do on projects. I like basecamp a lot but I'm trying to cut costs as much as possible now when I'm starting of. So my question is simple; What are the free alternatives to basecamp for managing projects? ...

In Rails, display time between two dates in English

In a Rails project I want to find the difference between two dates and then display it in natural language. Something like >> (date1 - date2).to_natural_language "3 years, 2 months, 1 week, 6 days" Basically this for ruby. Google and the Rails API haven't turned up anything. I've found some things that will give you the differen...

How to retrieve the time spent in user mode in a win32 process.

I know that GetProcessTimes can be used to retrieve the time a process spent in user mode (as opposed to the time it spent in kernel mode or the time it was suspended). Unfortunately, it seems that the resolution is only 16ms (the same as GetTickCount). Is there a way to retrieve the time with greater precision? ...

Excel VBA Format cell as custom "h"

I have a cell with a time value as 1:23:45 AM and would like to display just the hour value or use it for other calculations. Need to do this using vba. No, I cannot format the column manually. Thanks, Sam ...

How to access system time finer than 1 second on the iPhone

The system time function time(0) gives me a resolution of 1 second, right? Is there a finer-grained function? I'm using it to determine the time interval between two events. A line of code would help me greatly. It makes it easier to have something concrete to hang the concept on when I look in the official documentation. ...

jQuery - How to tell .hover() to wait?

Hello, just a short qustion .. I have a drop down menu. Now when it's slided down to multiple levels, I'd like it to add wait time for like 2 secs, before it disapears, so the user can get back in, when he breaks the .hover() by mistake ... Is it possible? my code for the slide: $('.icon').hover(function() { $('li.icon > ul').sli...

Newbie Thread Question (FFTW)

I'm using the threaded version of FFTW (a FFT library) to try to speed up some code on a dual CPU machine. Here is the output of time w/ only 1 thread: 131.838u 1.979s 2:13.91 99.9% Here it is with 2 threads: 166.261u 30.392s 1:52.67 174.5% The user times and the CPU load percentages seem to indicate that it is threading pretty eff...

Epoch time

Why is 1 January 1970 00:00:00 considered the epoch time? ...

2 numeric stepper components in an item renderer of flex

I have to put 2 numeric stepper components in one column of a datagrid. I suppose I need to write my own item renederer code for that. How to write a code for putting 2 numeric stepper components in one coulmn of datagrid. The 2 numeric steppers would work as time (Hour and Min) components. I cannot use readily availabel time components...

pthread_cond_timedwait linking error with clock_gettime on Solaris 10

Hello, I have a bit of code which used pthread_cond_wait which looks like this: struct timespec ts; clock_getttime(CLOCK_REALTIME, &timS); ts.tv_sec += delay; pthread_mutex_lock(&a_mutex); pthread_cond_timedwait(&thread_cond, &a_mutex,&timS); pthread_mutex_unlock(&a_mutex); But I get a linker error on compilation, undefine...

How many hours you be able to do good development in a single day ?

Possible Duplicate: How Many Hours per Week on Average do you put in for your Workplace? Can everybody concentrate on doing the good development 8 hours / day ? As I found it is really difficult if you don't do something to relax yourself, and do you even still do some extra reading after 8 hours day time work ? Thanks for sha...

comparing time ranges

hi! I'm trying to write an sql statement which compares time ranges. I got some excellent ideas from this question: http://stackoverflow.com/questions/143552/comparing-date-ranges the problem however is times that span midnight e.g. given the following start and end times: 19:00 - 20:00 21:00 - 21:30 23:00 - 01:00 01:00 - 03:00 I w...