time

What .NET time series libraries are there?

I am looking for a .NET library for time series work. It can be either free or commercial. My basic requirements are the following: Handle time series in varying frequencies (daily, business daily, week ending Friday, monthly, quarterly, annual, etc). Convert between different calendar frequencies, going from both high to low frequency...

Timout without using Threads? Iterative deepening of MiniMax-Tree

Hi, how can I limit the execution time of my iterate-deepening search without using a thread? Currently I use this simple implementation, but it is not efficient and sometimes even does not terminate within the given timeframe.. timer.Start(); best = doSearch(); timer.Stop(); dpuble time = timer.Duration; while (time*1000 < 400) { t...

Conversion and comparison of microseconds and milliseconds

How can I convert microseconds to milliseconds and make it possible to compare timestamps by substraction? Example: int t1 = (int)timeGetTime(); int t2 = (int)timeGetTime()+40; // now t1 - t2 < 0 which means that t1 < t2. This logic won't work if you divide time values by 1000, to convert microseconds to milliseconds. ...

Programmatically reading and changing elapsed time of music(iPod's media library)?

I am creating a music application, much like the standard music app. Now, I am befuddled on how they were able to read and change the elapsed time of a song using a UISlider. How is it possible to read and change the elapsed time of a song? ...

How to handle time in Java

Hi, I'm working on a functionality related to job scheduling in Java, where I'm required to schedule jobs based on days, weeks, or hours. I'm running into 2 problems: What is a good representation/library to handle a duration of time (not date)? What is a good library to parse a text representation of time, i.e. 2d 3wk for 3 weeks a...

In Asp.Net, what control is more suitable for getting time (hh:mm) from user and pass it as a parameter?

hi every body In Asp.Net, what control is more suitable for getting time (hh:mm) from user and pass it as a parameter to a query? ...

Putting time values on the x -axis

Hi, I'm trying to put time values on the x-axis of a plot. I used the times from an excel file and import them into MATLAB by using: t = datestr(xlsread('Subject_104.xlsx', 'iButtons','A2:A2049'),'HH:MM') How can i plot my data points against these time points? Hope someone can help me here. Greets, Anne ...

How to filter a table by T_SQL in SQL Server 2005, using a specific time for a column of "DateTime" datatype

hi How to filter a table by T_SQL in SQL Server 2005, using a specific time for a column of "DateTime" datatype? Thank you ...

How to write a bash script to get the time on another linux server?

Does anyone know how to write a bash script that will pull the time off of another server? I need a script that will poll the other server's time and start an event at a very specific period of time based on the time on the external server. ...

Column fromate problem while reading Excel in c#

Hi, I am able to read the excel sheet from c# + asp.net application with MS interop Excel services (namespace). Data retrieving fine. But my excel sheet have a colummn whose formate type is of hh:mm:ss type. while retriving data i found value of this column fetching as General column getting some 0.45645646... like value. What should thi...

System.nanoTime() equivalent in C

Possible Duplicate: C++ Timer function to provide time in nano seconds I need to get out of a loop when approaching 3 seconds, so I need to calculate the elapsed time. I'm moving some code from Java to C, and I was using the easy System.nanoTime() in Java, How would I do that in C? I noticed that time(NULL) will return the ...

How can I work out system time offset between two different linux servers?

We have two Linux servers, ServerA and ServerB. The system time on ServerA seems to be slightly behind ServerB, only by a few hundredths of a second. I am trying to diagnose an issue with a distributed transaction and have noticed slight inconsistencies between the times of the two servers, but I need some way to prove it. I need someth...

NSTimer on a label

hi, im working with iphone sdk and i got to show a label when the user clik a button but after some time the label deseapear, can i do that? ...

amount of Images on site is causing long load time

My website sometimes loads a bit slow, due to the amount of images loading. I actually have 61 images on my homepage due to all the png overlays and icons. I have considered using sprites or an image map, but I really don't feel like doing this. I know that there can only be 2 requests to my server, so if I host the images elsewhere, it ...

How much Work-power and time does it take for building website like stackoverflow ?

Hi I'm wondering building a website like StackOverFlow (approximately the same features using ASP.NET ) How much Work-power and time does it take in your opinion . My boss has asked me to estimate for work-power , time , cost and suitable technologies . I appreciate any direction . ...

A question about strftime

The question is simple "Say we have an integer 1 <= n <= 12,How to use strftime to display January for '1',February for '2',March for '3' and so on ... ?" ...

Ruby - Changing the date part of a Time instance

I have a Time instance curr_time with the value of Time.now and another String target_date with the value, say, "Apr 17, 2010". How do I get the date part in the variable curr_time change to the value of target_date ? >> curr_time => Sun Feb 21 23:37:27 +0530 2010 >> target_date => "Apr 17, 2010" I want curr_time to change like this:...

What data structure would have the fastest time for search and insert functions?

The question pretty much says it all, but I'm building a compiler and am trying to decide on what sort of data structure to use for my symbol table. Considering the only functions the symbol table will need is a search and an insert I'd like to use a data structure that can do those as quickly as possible. Any suggestions? ...

java: time comparison

I have a time in hh:mm and it has to be entered by the user in that format. However, I want to compare the time (eg. 11:22) is it between 10am to 6pm? But how do I compare it? ...

how to convert 270921sec into days + hours + minutes + sec ? (ruby)

I have a number of seconds. Let's say 270921. How can I display that number saying it is xx days, yy hours, zz minutes, ww seconds? ...