My app takes advantage of the built-in support for SQLite which comes with the AIR runtime. There's just a .db file stored on the user's machine where the data is at.
I built it using Cairngorm so it'd be really easy to modify the service to communicate with a server rather than SQLite Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 <http://www.cfwebtools.com> http://www.cfwebtools.com 402-408-3733 x103 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of joyfulrodger Sent: Monday, August 03, 2009 10:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex scheduler application Jake, Thanks for your reply. What I was thinking of doing was passing the clients time from flex to coldfusion, working out the time difference between the client computer and my coldfusion server and then storing both the reminder time with the offset from my server time. Then when my reminder script runs it will work out the selected reminder time. But as you say this may be an issue with the DST. I really like your scheduler though. As a small app it works well. I have yet to try using air. Does the application communicate with a database on your server? Do you use any backend technology like coldfusion etc? I would be interested in seeing your code for interests sake if you wouldn't mind? --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Jake Churchill" <j...@...> wrote: > > It will use whatever the client computer's current date/time is. It only > takes daylight savings time into account if the client's computer has it set > correctly and you'd be surprised how many times that doesn't happen. > > > > My company wrote a stock charting application and ran into some issues with > this. I suggest attempting to do date operations on the server and pass the > current date/time into the flex app on load. > > > > I recently wrote an AIR (Flex) reminder application > (http://www.reynacho.com/projects/reminder-application/). If this is the > type of thing you need, I'd be happy to share some of the code with you. It > uses a SQLite DB to store everything and depends entirely on the computer's > time settings > > > > Jake Churchill > > CF Webtools > > 11204 Davenport, Ste. 100 > > Omaha, NE 68154 > > http://www.cfwebtools.com > > 402-408-3733 x103 > > > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of joyfulrodger > Sent: Sunday, August 02, 2009 9:10 AM > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] Flex scheduler application > > > > > > Hey all, > > I have been assigned a new project where i have to code a reminder > scheduling application in flex with a coldfusion backend and sqlserver db. > Basically user will select an hour when they receive a reminder to do a > task. Its intended to be deployed world wide so I have to take into > consideration time zones. What i wanted to know is, how is the date in flex > worked out if i create a new date variable like so. > > var myDate:Date = new Date(); > > Will it pick up the time in the client computers timezone? Will it allow for > daylight savings time? > > All help much appreciated. > > Thanks, > Dave > No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.41/2277 - Release Date: 08/03/09 05:57:00