Time displayed in flex not the same as in database

I am getting a record out of a Sql Server database.
In the DB the value is: 2/16/2001 4:11:00 PM
If I display it on a cold fusion page the value is:
2001-02-16 16:11:00.0
But if I use a CFC back end and load it into Flex the value
is: Fri Feb 16 11:11:00 GMT-0500 2001
Which as you can see is 11AM when it should be 4PM
If I ask flex to display the current time using "New Date()"
the value is: Thu May 17 14:48:24 GMT-0400 2007
I see that the "Current time" thinks it's GMT-400 (All
machines are set to Eastern Time)
and the Database thinks it's GMT-500.
What am I missing?
Is there some time zone setting I am missing somewhere?
Is there a way to display the raw value as it comes out of
the DB in Flex?
Also the data in the DB was not put there by this flex app.
It is legacy data the app will be dealing with(just to avoid
confusion).
The DB Table row for this dat is set to "datetime"

I noticed that Flex handles dates differently than ADO.NET
does. What I have done to get around this problem is to parse the
date into a string on the WS side and pass it as a
dateVar.month().toString()+'/'+dateVar.day().toString()+'/'+dateVar.year()
and then receive and parse it back into a date in Flex. It is a
hokey work around, but it does let you decide what you want the
date to look like and you have the power to parse it however you
want.

Similar Messages

  • 2 23" Displays: Colors are not the same.

    Hi there
    I a running a G5 with two 23" Cinema Displays.
    I had to get one of the two displays exchanged because a USB port wasn't working anymore. The new display has different colors than the older one (the new one has more blue - the older one more red). The first two displays had absolutely the same colors.
    As I have seen the two monitors use the following two profiles:
    - Cinema HD Display-4248B25.icc (older display)
    - Cinema HD Display-4248780.icc (newer display)
    In these two profiles the values are not exactly the same.
    I tried to set the monitors to the same profile (for example: sRGB-Profile) but the colors are still different.
    Is there a way to resolve this or this simply a hardware related issue?
    Any help is highly appreciated.

    There are variations LCDs are made. Differences in color can come from the LCD panel itself or the fluorescent backlight used to light up the screen. Thus, it's very difficult to get two displays that look exactly the same unless they are purchased together and happen to have been made right next to each other at the factory. Try calibrating the LCDs, though that will only go so far to match the colors better.

  • Time and clip duration not the same ???

    I got a clip with 3 correction layer above of same lenght and I toggle from one another and they shows 9;09 in info all excepts video clip which shows 9;10, but on timeline they are same lenght and show in info same In and Out TC. Also, when I go in Time by right-clicking clip, Time indicates 9;09.
    As my AE smoke dope or is this known bug?
    Which do I trust in ?
    The Cs4 on the machine in updated to last patch and has Cineform ProspectHD on it.

    There's no bug here. If you go to the end of the clip in AE you'll be at the last frame. Go 1 more frame and you'll be at the end of the clip. This is where the confusion comes. If you were butting together to clips in AE then the first frame of the second clip would start when the preceding clip ends, IOW at the end of the clip.
    Dropping a clip in an empty timeline or dragging it into the new composition icon creates a composition exactly the same length as the clip, but the frame number of the last frame is one less than the length of the comp.
    Maybe the confusion arises because you're not counting bananas, you are measuring time. 60 bananas are 60 bananas because you started with a banana, but 60 seconds is a minute because you started with no seconds. The last second in a minute is the 59th second. When that second is over the minute is up.
    In Premiere, or any other NLE, when you go to the end of a clip you don't see that clips last frame, you go to the first frame of the next clip. This makes sense because you wouldn't want to overlap the clips by 1 frame. When you go to the end of a comp you see the last frame, but the frame number is one less than the length of the composition. This also makes sense because you wouldn't want to the render to have one blank frame at the end of the movie.
    I hope this clears things up.

  • Mini Display error (but not the same as the other person who posted here)

    I have a new Mac Pro (12-core) with the ATi 5870 card. I have a Dell U2711 monitor.
    When I have the DVI from the Dell monitor connected to the Mac Pro, everything works fantastic. However, if I use the Display Port (from the Dell moni) to the MiniDisplay Port (on the Mac Pro) the machine will not properly wake from sleep mode, nor will it display a picture when it turns on. For example, if I turn on the Mac Pro with the DP to MDP, the Mac Pro boots, has sound, but never shows picture no matter what I do. The cable I have is a DP to MDP cable I purchased from Amazon. It is PROPERLY connected. I will also add that I have tried FRESH installations of OSX and unfortunately it still doesn't work.
    Is this a graphics card issue? A normal issue with this combination of monitor and Mac Pro? Thanks everyone.

    When people do not answer, it is generally because they feel they have nothing to add.
    Your display card works fine on the DVI port. Everything works great except your adapter. If you have pushed the Mini DisplayPort end into the Mac socket far enough so that the metal is not showing any more, just the plastic, then the adapter is not working or defective.

  • Time machine space questions, not the same as Activity Monitor

    Hello
    I am new here and kindly ask your thoughts on what I am seeing.
    I have a 13" MacBook Pro early 2011 with OS 10.7.5
    Earlier this year I tried an upgrade to a new OS and experienced a failure that required me to make a visit to the Apple store.
    I believe they reinstalled the OS and if I remember correctly I just did a recovery with the Time Machine backup I had.
    While that backup was not very recent, yea OK I get that was stupid, what was odd was that not all my files were backed up.
    I lost a significant number of files from April 2013 until the time of the failure in 2014, for reasons I have no clue as to why.
    My Time Machine does not have any excluded files as far as I can tell.
    So my first question is:  Can anyone help me understand what may have happened and how to counter that?
    Then yesterday I decided to invest in a new backup external drive.
    During the process of setting it up and doing the 1st Time Machine backup on that, I noticed the following:
    In Activity Monitor under the "Disk Usage" tab shows the Macintosh HD as using 258 of 319 GB, and then selecting my user name it shows using 578 of 639 GB.
    When I did the backup with Time Machine it backed up approximately 250GB.
    I thought Time Machine backed up the entire HD.
    What is the difference between the Macintosh HD space and the user space in terms of usage and total?
    Should I be worried or visiting the Apple store again?

    OK, done.
    I created a text.txt document containing the words "Version 0". I saved it to the Desktop, closed it and selected "Back Up Now" from the Finder.
    Waited for that to complete, opened the test.txt document again, modified it by adding the words "Version 1", saved it, closed it and selected "Back Up Now" again.
    Repeated that twice more, so the end result was a Text.txt containing the words "Version 0", "Version 1", "Version 2", and "Version 3".
    I expect that I should now have three versions from which to choose to restore, all from different times, plus the latest one still on the Desktop.
    Creation and backups now complete, so the next step was restoration:
    From the Finder, I used "Enter Time Machine" and verified that I had four different recent times from which to choose. I chose the original text.txt document and elected to "keep both files". It restored the original, which I opened and verified it contained nothing but the text "Version 0".
    I repeated this for the subsequent version. I opened that one and confirmed it contained the words "Version 1".
    I repeated this for the subsequent version. Now I have three restored text.txt documents, plus the one on the Desktop.
    I opened all four text.txt documents and stacked them as shown in the following screenshot:
    Conclusion, no surprises that I can determine.
    Is this what you had in mind, or was there something I did that was different from what you need?

  • FCPX how many times can it install on the same computer?

    From time to time I like to wipe the drives and start afresh or, whenever there is a new OS, I will perform a clean install. This entails wiping the drive and reloading all software. Most of the apps have 'de-authorize' function, this allows me to use the same licence number for the next re install.
    Any idea how FCPX would install after say, four five drive refreshes? Can it understand that it is no longer resident on any machine?
    Please note: I do understand how many machines I can install on at one time. This is not the same.

    You can install FCPX as many time you wish

  • Display several bookmarks at the same time in Maps?

    Hi.
    Does anyone know if it's possible to display several bookmarks at the same time in the app Maps on an iPad (mini) under IOS 6.1.3?
    Thanks.

    Do you have to copy each track separately? It would be much easier if I could select all the tracks together for copying/pasting.
    You cannot select multiple tracks in LP9, but you CAN select multiple regions. Use Shift-Click to select the parts on the tracks you want to copy, then hold the "option" key and drag them to the new position. This will create a copy at the new position.
    Let's say you have tracks for piano, drums and bass. In the arrange window, click on the 8-bar "A" part for piano. Hold shift key and click on the drums region then again for the bass region. All three will be selected. Now hold the option key and drag all three sections to the right to place them on bar 25.
    Also, how do you specify that you only want to loop X times? I can get a perpetual loop but I have to turn it off to get it to stop.  This is very inconvenient when I'm playing.
    You can control looping in a few ways.
    1. Go to a region that does NOT have looping checked. Click near the TOP RIGHT of the region in the arrange window. Drag to the right to specify where the looping will stop. This is tricky... if you click too low, it will extend the length of the region. You must click the correct spot near the top to control looping.
    2. For a region where looping is checked, go to the end of the region in the arrange window (at the end of the song) and do as #1 above. Drag to the left until you reach the point where you want the region to stop looping.
    3. Use the "pencil" tool to create a blank region where you want the first region to stop looping. If your 8-bar verse is repeating once, create a blank region at bar 17. The first region will stop looping there.
    Hope this helps.

  • How to display multiple reports at the same time

    Hi,
    I'm trying to display multiple reports at the same time, each one in separates tabs or windows using Forms 11g 11.1.1.6
    I have a button which has a call to a procedure which makes use of rp2rro library to show the specific reports, for example:
    call_report('report1');
    call_report('report2');
    call_report('report3');
    call_report('report4');
    The main problem is that, just the last report is been displayed.
    Is there some way to display report1, report2 etc in separate tabs or windows ??
    Regards
    Carlos

    You shouldn't have a problem calling different reports at once. As long as you're using Forms 11g they show up in different windows.
    The question is how you are calling the report.
    Here is how I manipulate it.
    After I pass parameters with the ADD_PARAMETER built-in I set some key values (destype, desformat, desname) with the RP2RRO's procedures.
    Finally calling RP2RRO.RP2RRO_RUN_PRODUCT and then WEB.SHOW_DOCUMENT passing the correct procedure parameters the report comes up in a window. If you repeat the above changing the appropriate variables (the report_name in the RP2RRO_RUN_PRODUCT and so on) you can get multiple reports in different windows.

  • Synced times in ical between iphone and Macbook not the same

    I have tried syncing my ical to my iphone using itunes and the times on my iphone are not the same as my ical. for example 1.30 pm for an appointment in my ical reads as 4.00am and the next day on my iphone calendar. How do I fix this?

    Are both the iPhone and your Mac set to the same (local) time zone? Do you have Time Zone support turned on in iCal Preferences and in iPhone > Settings > Mail, Contacts, Calendar?

  • I upgraded my macbookpro hard drive to 1 TB then migrated my files from time machine. I'm now locked out of the computer because the password is not the same as my usual one and one that was years old and not retreivable. How do I work around this?

    I upgraded my macbookpro hard drive to 1 TB then migrated my files from time machine. I'm now locked out of the computer because the password is not the same as my usual one and one that was years old and not retreivable. How do I work around this?

    Whether or not you are able to recover the data off the drive yourself will depend on if the drive suffered any impact damage in the crash. You can buy USB SATA or IDE adapters (Intel and almost all G5 use SATA) that will let you connect your hard drive to a computer (like a flash drive) to see if you can recover the data. If the drive has suffered physical damage if may not mount.
    If you know someone who has one of these adapters you could try using theirs, otherwise you could buy one but you take the risk of the data on the drive being non recoverable. Regardless, both are much cheaper than $1699!
    (Alternatively, if you know of someone with a Mac Pro or PowerMac G5 they may be able to install the drive in their machine and try to boot from or mount it and copy the data off.)

  • HT4623 Hi everyone, I updated my iphone 3gs to ios6. But, when it come to the activation screen, It showed up could not activate iphone because the activation server is temporarily unavailable. I tried to restore many times already but it still the same.

    Hi everyone, I updated my iphone 3gs to ios6. But, when it come to the activation screen, It showed up could not activate iphone because the activation server is temporarily unavailable. I tried to restore many times already but it still the same. Help me please! T-T

    Please see the  More Like This  section on the right.

  • Can I display different tables at the same time?

    Hello all,
    This is probably a newbie question but is it possible to display different tables at the same time? I'm using SQL Developer 1.5.5 and I seem to be unable to display more than one table at the same time, whenever i chose to open another table, the old table disappears. In other words, the table display just switches to your new choice in the table list navigator. Any ideas anyone?
    Regards,
    wf

    Menu item "Tools -> Preferences -> Database -> ObjectViewer Parameters"; make sure "Automatically Freeze Object Viewer Windows" is checked.
    HTH.
    Ed. H.

  • How to integrate bing map for including or displaying multiple locations at the same time

    how to integrate bing map for including or displaying multiple locations at the same time

    Have you aware of the geolocation field that's been introduced with SharePoint 2013?  You can store location data within a list and then integrate this within Bing.  The second tutorial on this Bing team blog will show it well.
    https://www.bing.com/blogs/site_blogs/b/maps/archive/2013/03/26/connecting-a-sharepoint-list-to-bing-maps.aspx
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Safari (3.0.4) on Mac OS 10.4.11 has started quitting when viewing news and weather sites - not all sites, not the same sites every time.

    Safari (3.0.4) on Mac OS 10.4.11 has started quitting when viewing news and weather sites - not all sites, not the same sites every day. Help?

    Hi Gary...
    I see you are running v10.4.11 and you have updated Safari but make certain all the system software is up to date by clicking your Apple menu / Software Update.
    If everything is up to date, try resetting Safari from the menu bar.
    Select the top 7 buttons, click Reset.
    Restart your Mac. Launch Safari. Try several of the sites you mentioned.
    has started quitting
    If resetting didn't help, post a crash report.
    If Safari has just crashed, press the Report button on the CrashReporter dialog box to view the crash  information.
    Copy/paste the entire contents of the Crash Reporter window into your reply. If the crash report dialog does not appear or the crash is hard to reproduce, crash logs can be retrieved from the ~/Library/Logs/CrashReporter> folder.

  • Can I use Time Capsule and LaCie at the same time?

    Can I use Time Capsule and LaCie at the same time?

    stephaniefromarlington wrote:
    Before I answer your questions, let me first just say thank you so much for your amazing patience and helpfulness.  Whether or not we get to the bottom of this, I am very, very grateful to you. 
    We will get to the bottom of it, and you're quite welcome.  Don't feel you ought to know all this stuff -- none of us were born with it!
    By the way, in answer to your original question, yes, you can use the Time Capsule while backups are running. There's no conflict at all.
    1)  Estimated size of full backup:  205.94 GB
    2)  My LaCie has available:  11.04 GB of 359.95 GB
    That's part of the problem right there; 360 GB is a bit small to back up 206 GB.  Ordinarily, a Time Machine drive should be 2-3 times the size of the data it's backing-up, so Time Machine can keep a reasonable "depth" of old backups for you.
    It looks like Time Machine is trying to do a fairly large backup, and there just isn't enough room for it.
    But something doesn't quite add up.  Time Machine should have deleted all but your most recent backup, trying to make room for the new one.  But that would mean there should only be a bit less than 206 GB on the disk, not 360.
    A clue may be lurking in your logs.  Use the widget in #1 of Time Machine - Troubleshooting to display the backup messages from your logs.  Locate the backup in question, then copy and post all the messages here.

Maybe you are looking for

  • Problem editing Word docs with Magic Trackpad

    Hi--I'm a playwright working in Word. I recently purchased a magic trackpad. I'm having a tough time selecting text for cutting, copying, etc. I'll want to select a word or two but wind up getting the whole paragraph, an incomplete chunk, or nothing

  • How to lock the position of text in XML RTF

    Hi Experts, I am working in XML Publisher reports. I am working on invoice report, i have following issue. RTF: <?for-each:headergroup?> --header <?header-data1?> <?header-data2?> --inside table <?for-each:linegroup?> --lines <?line-data1?> <?line_da

  • Add dynamic buttons to each report row and bind the row data to buttons specific to that row

    I have a page with a form at the top and a report at the bottom which is tied to a table. I need to add a pair of buttons for each row of the table and add dynamic actions for these buttons. I need to submit the data corresponding to the row to a RES

  • Create Number range

    I have to create a number range for OM ids . OM ids will be assigned to organistion units .  OM ids will be unique and cannot be assigned to more then one org units . Please tell me the steps to create Number range which should start with 10000 till

  • Unable to start laptop

    My screen keeps saying windows failed to start. A recent software or hardware change might be the cause. Its saying to insert windows installation disc or contact computer manufactuer for assistance. Can someone PLEASE help me.??