Hi Jacqueline,

may I invite you to check out the rigTimespan() function
in the date helper of revIgniter?
You would have to comment out the line "get rigLangLoadLang("date")"
and to replace all calls to rigLangLangLine() with whatever time labeling
you need.

Ralf



On 18.12.2012, at 03:55, J. Landman Gay <[email protected]> wrote:

> On 12/17/12 10:46 AM, Andre Garzia wrote:
> 
>> the function is called elapsed and you can use it to figure out if a
>> certain amount of time passed between two timestamps.
> 
> I'd like a function that returns years, months, and days elapsed. I wrote a 
> quick one that gets the number of days and divides by 30 to get months and 
> days but it isn't very accurate. Since it's just for me I haven't gone back 
> to fix it. Anyone have one already written?
> 
> 


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to