API for Date Range Expansion

Discussion for TimeTrex open source community developers.
Locked
andychu
Posts: 2
Joined: Tue Aug 10, 2010 1:26 am

API for Date Range Expansion

Post by andychu »

Dear all,

We am now customizing timetrex for our company. We created a form accepting a Start Date and an End Date. What we are looking for is an API to expand the date range into an array of Dates. We hope to get your kind help. For example, we get

Code: Select all

Start Date: 28-Feb-2008
End Date:   01-Mar-2008
Out expected result is:
28-Feb-2008, 29-Feb-2008, 01-Mar-2008
Thank you in advanced!
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: API for Date Range Expansion

Post by shaunw »

TimeTrex doesn't have any such function that I'm aware of. You didn't state what you are actually trying to achieve though, but I doubt that is the way you want to go about it, there is likely a much better/easier/faster way.
Locked