Date Calculations

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
sosterbauer
Posts: 3
Joined: Sun Jul 22, 2007 4:36 pm

Date Calculations

Post by sosterbauer » Sun Jul 22, 2007 5:09 pm

Hi, I'm new to the forum. I've been working with Rev Studio for about 10 months, and understand it pretty well. But I can't seem to find any date calculation functions. Specifically, I need to be able to calculate the elapsed days between two dates. I can't seem to find anything in Rev's documentation, and I've done a search of the forums. I'm sure it's right under my nose. Anyone have a pair of glasses for me?

Thanks.

malte
Posts: 1098
Joined: Thu Feb 23, 2006 8:34 pm
Contact:

Post by malte » Sun Jul 22, 2007 6:06 pm

Look at the convert command. You can convert a date to seconds and go from there. Also you might want to look at the dateitems.

Hope that helps,

Malte

sosterbauer
Posts: 3
Joined: Sun Jul 22, 2007 4:36 pm

That worked

Post by sosterbauer » Tue Jul 24, 2007 1:15 am

Thanks. That worked.

Post Reply