With the new Date on Linux is different from windows/mac?

Hello

Im getting two different results when you use date when you are using windows / linux

The release of windows must be Wed Jul 1 16:15:12 GMT+ 0100 2009

When I run this code on linux I get Wed Jul 1 16:15:12 GMT-0400 2009

Does anyone know why this is and how I can fix it is the same as that of windows?

Example working as below...

http://www.aidanmack.co.UK/Flex/test/test.html

CODE BELOW,

Thanks for any help.

See you soon

Aidan

<? XML version = "1.0" encoding = "utf-8"? >

" < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML " " layout = "absolute" init = "figureTimeDif ('01-07-2009 16:15:12 ');" > "

< mx:Script >

<! [CDATA]

[Bindable] public var betplacedtimedate:Date

public void figureTimeDif(betsliptaken:String):void {}

var thedate:String = betsliptaken;

var dateBit:String = thedate.split("") [0]

var timeBit:String = thedate.split("") [1]

var dateBits:Array = dateBit.split("-");

var timeBits:Array = timeBit.split(":");

betplacedtimedate = new Date (dateBits [0] dateBits [1-1, dateBits [2], timeBits [0], timeBits [1] timeBits [2]])

}

[]] >

< / mx:Script >

< mx:VBox >

<mx:Text  htmlText="==============================================================================" />

< mx:Text htmlText = "{betplacedtimedate}" / >

< / mx:VBox >

< / mx:Application >

Flex uses the time zone of your system information to calculate its dates.

zones / areas do you have two machines, the value, I think they will be different.

Tags: Flex

Similar Questions

  • Problems with the new w standby servers / db different characterset?

    Currently, the existing system is incorrectly configured with bad characters, we will migrate to the new servers. can put us in place a Data Guard configuration, where the news of the day before is built with the correct character set?

    Published by: PeteORA16xxx on March 29, 2011 08:31

    If you want to change the character set, it would be something like this:

    Guess Oracle 11

    Select * from nls_database_parameters;

    Run the utility CSSCAN.

    If TI errors because it is not installed, install it using this script: (your path may vary)

    U01/app/Oracle/product/11.2.0/RDBMS/Admin/csminst. SQL

    Run the utility CSSCAN

    and take 1) comprehensive database

    It should invite you to new and existing database character set.

    After he finishs

    SHUTDOWN IMMEDIATE

    START TO RESTRICT

    Run the csalter.plb script

    U01/app/Oracle/product/11.2.0/RDBMS/Admin/csalter. PLB (once again your path may vary)

    This will update the contents of the Oracle data dictionary.

    After he finishs

    SHUTDOWN IMMEDIATE

    STARTUP

    Finally, check the current character set.

    Select * from nls_database_parameters where parameter = "NLS_CHARACTERSET";

    If the choice I would rebuild the primary on the new server with the new character set. If you don't have this option and test often. You new servers give you the possibility to duplicate your primary current and test this situation without risk. If you make your backups on your primary now and that trashes the day before you can consider having a RMAN duplicate for standby in hand plan. If you happen to use the same directory on both servers here structure is a simple plan of RMAN duplicate:

    http://www.Visi.com/~mseberg/duprman.html

    I would test heavy. I never trust character sets, but to be honest, they got better. In theory, this should work and just move forward, but I've never had to do.

    I hope you post your experience.

    Best regards

    mseberg

  • Problem with the new printer print only some word from the quarterdeck documents

    I hope someone can help. I have a Dell Vostro and had 8 happy years print on a Canon printer. I just upgraded to a Canon Pixma iP4600 printer. I think that with some (not all) MS word documents it prints the rear tray (mean't for photo paper) by opposition to the tape before (designated for plain paper), for which I set the properties of the printer.

    Canon tech support say there is a Windows problem. I already reinstalled the printer driver but sill the same problem. Hope someone can advise.
    Happy Days!
    Bryan

    Hello
     
    This phenomenon only occurs with word documents?
    Have you checked if this happens with any other application?
     
    As you have already defined the properties of the printer and the problem is only with a few word documents. The first step would be to check if the word printing settings are defined in law.
    To fix printing on word problems, see the steps mentioned in this link:
    http://Office.Microsoft.com/en-us/Word/HP051887411033.aspx
     
    Sometimes this also happens if the printer settings are ignored when you print a Word document. To check if these settings are correct, try the steps mentioned in this article: http://support.microsoft.com/kb/904805
     
    If you still find difficulties in printing, run the Microsoft Fix it to reset the settings: http://windows.microsoft.com/en-us/windows-vista/Troubleshoot-printer-problems
     
    Post back with the results, so that we can help you better.
     
    I hope this helps.
     
    Kind regards
    Syed V
    Answers from Microsoft supports the engineer.

  • chart of increment with the new data to the worksheet

    I'm having a little trouble and could use some help if someone has a moment.  My vi is streaming at 2 Hz data acquisition and adding data in a worksheet open.  I would like to be able to view the data from the worksheet in graphic form, but I don't want to redraw all the data points whenever the worksheet is in graphic form.  I have attached the section from vi which is dealing with this issue.  I have included an incrementer in my loop (+ 0.5 each implimentation) to allow time (for (i = 0) that each data point is collected, so my spreadsheet has essentially 2 columns, one for the time (0, 0.5, 1.0, 1.5, etc.) and a second column of data point recorded.  It all works very well.  It's just the graphical representation that gives me.  Assume that the broken wires are not broken in total vi.  Any ideas on that?

    For anyone interested, we solved this problem by attaching a waveform chart to the table converted out of my acquisition of data and define the history of this table to include the necessary length.  It seems that a waveform graph is not enough, and each parcel will not appear unless the table is horizontally (columns instead of rows for each data point).  Thanks to Jeff at home OR for the help on this one.

    Matt

  • I get a repeated error on install Platform Update For Windows Vista (KB971644). Fails with the error code 80073AA2. Installation comes from Windows Update.

    Windows Update loops round and round constantly to not set up correctly, then restores the changes

    Do I need to install the System Update Readiness Tool KB 947821?

    Probably not: I had a lot of doubt that SP2 is installed if KB947821 has not already been installed.

    Given that this problem is after a fairly recent install of SP2...

    Free unlimited installation and compatibility support is available for Windows Vista, but only for Service Pack 2 (SP2). This support, initially planned to end on November 26, 2009, has been postponed until February 26, 2010, so move on! Availability of support chat or messaging differs depending on your location. Some questions may require that more support for which he is advanced a charge.  Go to http://support.microsoft.com/oas/default.aspx?prid=13014&gprid=582034 & select appropriate category (i.e., download problem;) Installation problem; Problems after installing a service pack <=pick this=""> ).

    In the case opposite & whereas KB971644 is NOT a security update, you can simply hide the "thing":

    1. stop the automatic updates service:

    Start > Right click on run , and then select run as administrator > services.msc (type) > [OK]
    Double-click automatic updates > click stop
    (Stopping the service will take a moment)

    2 remove the contents of the download folder:

    Start > Right click on run , and then select run as administrator >
    (type or copy/paste) %windir%\SoftwareDistribution > [OK]
    Open the download folder and delete its content
    Close the window.

    3 start | Control Panel | System maintenance and (if you use Classic view, skip this step). Windows Update |  View the updates available (or Select the updates installed): right click on the (platform) update for Windows Vista (KB971644) | Click hide update | Confirm the prompt UAC (User Account Control), if any, & OK your way out.

    4. start the automatic updates service:

    Start > Right click on run , and then select run as administrator > services.msc (type) > [OK]
    Double-click automatic updates > click Start
    (Stopping the service will take a moment)

    =====================================
    To restore/show updates for Vista: Start | Control Panel | System maintenance and (if you use Classic view, skip this step) | Windows Update | Restore hidden updates: Find and select the update you want to install. Click restore. You can now select once again it and install through the normal process.

    NB: If KB971644 were available for download/installation manual (and is not), I would have you try it.

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • How to change the SSID name of the computer to be Compatible with the new name SSID router

    Need to change the default name of the SSID router and then reconfigure adapters wireless in each PC to be compatible with the new router SSID.  A PC has Windows XP Home Edition Version 2002 Service Pack 3 and the other Vista Home Premium.  What are the steps to change the SSID on each PC?  Your response will help complete a home network wireless system.  Thanks in advance.

    Hello

    Your computers use the SSID of your router - sound essentially its name.

    Check this box:
     
    Setting up a wireless router with Vista
    http://www.ehow.com/how-does_4899098_setting-up-wireless-router-Vista.html

    If necessary:

    Make sure you know the details of connection to your wireless router - SSID and password.

    You lose connection when you do and have to redo your logon.

    Control Panel - Network & Sharing Center - right, click Customize - page set of network locations.
    lower left click on merge or delete network locations - REMOVE all instances of your network (and the
    others you don't use anymore) - REBOOT. Start - Connect To log on to the network.

    Setting up a wireless router with Vista
    http://www.ehow.com/how-does_4899098_setting-up-wireless-router-Vista.html

    I hope this helps.

    Rob - bicycle - Mark Twain said it is good.

  • The "import" button is gray with the new version of Lightroom

    The "import" button is grayed out with the new version of Lightroom If importing from a hard disk or CF.  I tried to reinstall the previous version, but the creative cloud desktop version is not functioning as well.  When I connect via the web, it says I have no downloaded apps, but I'm currently on my monthly payment.

    Any suggestions?

    Please follow the article, it should be useful: Instructions to restore an earlier version of update

  • Need to create a new line in the table with the same data as the primary key, but new PK

    Hello gurus,

    I have a table with a column as a primary key, I need to create a new row in the table, but with the same data in one of the lines, but with different primary keys, focus a double row with key primary diferent...

    Any ideas of how it can be done without much complication?

    Thanks in advance for your answer.

    Agress,
    Karim idrissi

    user9970447 wrote:
    Hello gurus,

    I have a table with a column as a primary key, I need to create a new row in the table, but with the same data in one of the lines, but with different primary keys, focus a double row with key primary diferent...

    Any ideas of how it can be done without much complication?

    Thanks in advance for your answer.

    Agress,
    Karim idrissi

    something like

    insert into mytable values ('literal for new pk',
                                           select non-pk-1,
                                                    non-pk-2,
                                                    non-pk-n
                                           from mytable
                                           where pk-col = 'literal for existing pk')
    
  • My computer with two hard drives and 2 starting systems has the car crash in the solid state. When I got the new drive and tried to restore from time capsule, I lost some data. How can I see what backups are on the time capsule? My laptop is also backed u

    My computer with two hard drives and 2 starting systems has the car crash in the solid state. When I got the new drive and tried to restore from time capsule, I lost some data. How can I see what backups are on the time capsule? My laptop is also saved to the time capsule. Everything is in 'Data' when I look through the Airport utility. I think that the information that I've lost are still there since I was a Capsule 3 to.

    Time Machine backup to a sparsebundle.

    The sparsebundle will use the share name of computer. So, it should be obvious who is your Macbook and that is your Macpro.

    Open the sparsebundle in Finder and keep open the subfolders until you get to the backup of each separate hard drive...

    You has of course set the exclusion in Time Machine?

    By default, Time Machine will exclude your second drive unless you have included it. Did you?

    Once you get to this level during the backup, you can do a full restore manually whenever you want.

  • How to create two different smart albums with photos with the same date?

    I created a smart album by using 'Date is' and ' keyword is EAA.»  (The photos have a keyword like "EAA" or "Flower".  Photos of keyword EAA & flower have the same date.)  When I use "Corresponding to all" are has no pictures in the album.  When I use "Match any" all the photos are in the album - EAA & flower.  I would like an album with only pictures of CEA for that date and another album with photos of flower with the same date.

    I get the same answer.  I can get the date and to a key word to work with 'all' selected, but not date and keywords.  So you will need two smart albums: one with date and ECA ('all' selected) and the other with date and flowers ('all' selected).

    Use the file menu option ➙ new Smart Album.

    Report the problem to Apple via https://www.apple.com/feedback/photos.html.

  • How to maintain the availability of the data store after the upgrade to ESXi 5.1 with the new IP address and the naming convention?

    How can we maintain access to the presented LUNS and VMFS data store after we improve the ESX in ESXi with the new naming convention and the new model of IP addressing?

    My back-end SAN EMC Clariion is VNX

    Thanks in advance.

    How are the hosts connected to storage systems. With FC HBA for example, there is basically nothing you need to do since the WWN will remain the same and so LUN presentation of the zoning on the switch and storage system does not need to be reconfigured.

    André

  • Problem with the new Notes, do not sync with many testimonies

    I have several iCloud for work and my only personal accounts, since I just have an iPhone, I tried to synchronize all the accounts and their use on the same device.

    I found the following, maybe apple wants to examine, or re-thinking that he...

    HomeMac has my iCloud account staff, main on my iPhone, so the arrival of new tickets I've updated as suggested for the new features, everything went well.

    On my work, that I have a main and other iCloud for test account and so my main account on the desktop, it is not the main on the iPhone, is a secondary antibody and since last September did not want to synchronize the Notes, I couldn't find a reason to today where do more test with multiple accounts. Checking search for differences between accounts on Mac, configuration of web and iPhone iCloud Finally I saw the difference. Main account have the new interface of Notes on the iPhone, iCloud and Mac. Secondary accounts has old interface Notes on Mac / iCloud and iPhone, but always properly synchronized, so that on caos is just my main office account, which has "partially upgraded', when used a desktop Mac, it works under the new Notes interface, iCloud way suite, but at the time I check on a device where is a secondary antibody account he stopped to show me the new data upgrades or data, because it can not "mix" information, is as main account on iPhone has new tickets upgraded, but secondary accounts can not, do not know why, but I guess that has to do with the same question, you can only access info Pages, Numbers and Keynote, on a device, to your iCloud account main If you have a second account, there is no way you can access your information from these applications on the same iPhone / iPad.

    I was happy when Apple decided to make a second account iCloud on our devices and applications (Mail, Notes, calendar, Contacts, etc.) could manage the data separately, which has been a success, al at least for me, but now when Apps allow you to do more, when you try to make / get most of your devices, even once, we face limits that other applications has resolved as Instagram or Twitter where you can switch between the accounts and continue to use the App with a full capacity.

    For me, it is not 'normal' that if I updated a secondary account of new Notes and the iPhone can handle for the main account, this secondary account could not synchronize. I am committed to update on Mac to take advantage of the new features, but if yes, then what is supposed to do with my Notes on the secondary account if they no longer work...

    Please if anyone has an opinion on what might help solve, I will appreciate it.

    Thank you

    To understand, you must also understand how the notes are used to synchronize. Each IMAP account (emails mostly) have an underlying protocol used to perform the synchronization of notes. Icloud account is IMAP, Google is also (or they both have most of the components of the IMAP, but it is more complex then just). Sync IMAP notes would never let features advanced to be synchronized, so had to go with different type of synchronization of server Apple to improve the 'notes' (details - below) but that the clocks single server an account - main. For all those who have upgraded cannot go back and use the IMAP protocol. Therefore, when you add a few accounts to iphone only primary account has one capacity improved and other accounts synchronize using old IMAP.

    The specifications are in this article from apple.

    Before you upgrade your notes - Apple Support

    Upgrading of your notes with iOS 9 and OS X El Capitan - Apple Support

  • Migrated domain users are needed to access shared folders on the network with AD username old or need to share with the new AD ID

    Dear Sir

    Migrated domain users are needed to access shared folders on the network with AD username old or need to share with the new AD ID

    I am in a field & I'll migrate with a domain name.
    EX: now I'm in the field of the AAA tomorrow my domain name will change to BBB. User accounts are created in two AAA & BBB and the two domain user IDs are different.
    data servers are also migrating with the new domain.
    is it possible to access share with the old user id folder in new field or both to share the files again with the new user ID Active directory.
    Kind regards
    Chauvet J.

    Hello

    The question you have posted is related to professional level support. Please visit the below mentioned link to find a community that will support what ask you:

    http://social.technet.Microsoft.com/forums/en/category/WindowsServer/

  • iPhone personal hotspot works only with the new Windows 7 PCs

    Old laptop with Windows 7 would always connect iPhone personal hotspot using the USB cable. Tried to do the same with the new laptop and nothing. Tried it on a different laptop using the USB cable with the same phone and connected.

    • iPhone personal hotspot is activated
    • USB cable connected
    • Reset the network on iPhone [according to the suggestion of Apple forum]
    • Tried troubleshooting via Windows
    • IPhone enabled drivers in printers and Windows devices and driver date is 06/21/2006. I have tried driver update and Windows says that the best driver is installed
    • Network discovery is on
    • Public is the profile that I put
    • iTunes was not installed
    How can I fix? Should I delete the current iPhone driver?
    Thanks in advance.

    Installed work iTunes and hotspot. iPhone is a 3G!

  • Migration Oracle RAC to the new data center

    Hi all

    We are 'legacy' Oracle 11 G RAC cluster from another company and I am looking for a way to migrate with the minimum of downtime. Our team has no CARS, nor database administrator Oracle also experience.

    We intend to test the migration by cloning the environment a few weeks before and just see if everything is OK.

    Question is, what is the best way to migrate this RAC cluster and it's data to a new data center? Reinstallation of the operating system (Linux) and recreate the RAC cluster are not an option I want to examine.

    For example, in the land of SQL Server, we can use sending newspapers or replication to keep a copy of the database in the new data center as close as possible direct database (data-wise). Date of commissioning, we stop the direct instance, run last restore log or something else, then set up the databases on the new data center.

    Thanks in advance.

    Data Guard. It is the name of "log shipping" feature Oracle. It's probably closer to always on SQL Server availability groups, except that the Oracle database is a large group.

    I speak not Active Data Guard which is an extra cost that gives options on top of Data Guard.

    HTH,

    Brian

Maybe you are looking for

  • Portege R500 3 G is compatible with Vodafone?

    Does anyone know about the internal 3G on the R500 - 3G 125 that I can't find any information anywhere?My boss is attracted by the internal unit, having had problems with a modem external stick. I'm trying to find out if she will take our existing Vo

  • Re: Internal microphone Feedback makes it annoying when the loud noise from speakers

    Hello I have an annoying problem when I turn the volume on my speakers, there is a strong sound feedback from the internal microphone, I do not know how to get rid of. When I turn my speakers down it goes, but what's the point of having great speaker

  • Camileo P10 battery compatibility with Toshiba Camileo H-30?

    Hello! I have a Toshiba Camileo P10 camcorder and the battery don't want to pay more. I have seen that it is a general problem, so I don't even bother to ask why. So, I'm from Romania and I can not find here buying a new battery for this cam. Instead

  • RDP with auto-logon

    HelloI created a file of an application published to the RDS 2012 R2 server automatic log. The .rdp file works perfectly on Windows 7 and Windows 8. However, it does work on Windows XP. Specifically, on XP, automatic authentication fails and he asks

  • error message trying to run a clean boot "an access error was returned while trying to change a service."

    While trying to solve a problem with IE 8, I have a problem trying to run a clean boot.  When I start up I get a message on change in the config file. Click ok and sys config is displayed. Now, if I make a modification, OR not, I get an error message