DateTimeAxis - set Label to display Date + Time

Is there a way in flex 3 chart component to display both the date and time (label) using horizontal DateTimeAxis?
Currently the DateTimeAxis element has an attribute "dataunits" which allows to set the value to any of "milliseconds|seconds|minutes|hours|days|weeks|months|years" but I want to display the label as "2009/09/15 06:00:00" which includes the day and the time too.
Here is the sample that i'm using
[Bindable]
public var deck:ArrayCollection = new ArrayCollection([
    {date:"2009-09-15 06:00:00", close:42.71},
    {date:"2009-09-16 06:15:00", close:42.99}
public function myParseFunction(s:String):Date {
   var sDate = s.substring(0,s.indexOf(" "));
   var sTime = s.substring(s.indexOf(" "));
   var aDate = sDate.split("-");
   var aTime = sTime.split(":");
   return new Date(aDate[0],(aDate[1]*1-1),aDate[2],aTime[0],aTime[1],aTime[2],0);

You can set that via the Options page (Gear icon) in the Web Console (Firefox/Tools > Web Developer).
This applies to the Browser console and the Web console.
*https://developer.mozilla.org/Tools/Web_Console
*https://developer.mozilla.org/Tools/Tools_Toolbox#Settings

Similar Messages

  • How to avoid displaying date,time using Enhancement point.

    Hi friends,
    i have to work on the standard report.
    stadard report displays date,time ,reportname on the top of the page. my requirement is not to display date ,time,reportname.
    they have used the following code,
    WRITE text-001 TO m_line+d_offset(4). " Time
    WRITE sy-timlo USING EDIT MASK '__:__:__' TO m_line+d_offset(08).
    WRITE text-002 TO m_line+d_offset(05). " Date
    WRITE sy-datlo DD/MM/YYYY TO m_line+d_offset(10).
    BY using Enhancement point how to achieve my task.
    kindly help me

    Post Author: jsanzone
    CA Forum: WebIntelligence Reporting
    basham,
    You didn't mention which type of DBMS you are using (i.e. Oracle, MS SQL, MySQL, etc), but in a nutshell using MS SQL here is the principle.  Your time that is recorded in the records is dependent upon a setting in your RDBMS.  For instance, the RDBMS can use the machine time (which would most likely be local time), or it can use the machine time with an offset (to accomodate GMT, for instance).  GMT is factored differently based upon your time zone (and time of year, i.e. DST or EST, etc).  I'm on the east coast so right now my offset is GMT - 5, so if my time right now is 1457, then GMT is 1957.  To get SQL to compute an offset you must take the number of hours to offset and divide by 24 (24 hours in a day) and add that to the record in the database.  For instance, to get GMT right now I would use:
    select cast(getdate()5/24. as char(12))rtrim(convert(char(12),getdate()5/24.,8))' GMT'
    Hope this helps.  If you're on Oracle, then the mathematical principles remain the same, just the formatting will be different.

  • Error in displaying date time value in Thai Windows OS browser.

    Hi,
    I have a problem displaying date time in the browser which is installed with Thai Windows OS. The time portion (the subset of datetime) does seemed to show correctly. Initially i am suspecting the virtual machine problem but i tried on bith java and microsoft vm, the result seemed the same. I tried to look in the source of the page and the character is just the same as the incorrect character displayed in the browser. The html source is -->
    <tr class="TableData">
         <td width="76">14/01/04 12:17:06 H-@5H"</td>
    the time is displaying incorrectly. I am not sure its due to any setting in the BEA weblogic server. FYI i am now using WLS6.1(SP2) version. Hope and appreaciate a prompt reply. Thanks a zillion in advance.
    Regards,
    Sunny

    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=noclassdeffounderrorIWDAbstractTableColumn&adv=false&sortby=cm_rnd_rankvalue
    java.lang.NoClassDefFoundError
    Error while binding node attribute to a  UI  element (table)
    Problem with NWDS 7
    class def error?

  • How can I display date+time and not the point number in excell?

    Hi everyone,
    Could anybody tell me how I can save date + time to a file, so that  I can display on a diagram(excel) : date+time in (ox) and data (oy)? :
    My program sets in (ox) the point number and not the date+time....( although  date and time are written correctly in the column...)
    Any help would be great,
    Thanks,
    regards,
    Marc

    hi there,
    excel uses 01.01.1900 00:00 as the time offset, LabVIEW uses 01.01.1904 02:00, so you can't display the correct datetime in excel when you write the time as a fractional number of seconds from LabVIEW. you must format the datetime in LabVIEW to a string and write that to the column. use the "Format Date/Time String" - function and for example "%d.%m.%Y %H:%M:%S%3u" as the format string (see the functions help for more examples). you also could format your data to a string using "Format Into String" - function and write the file as a 2D string array. the decimal point you have to use depends on your system and its settings, but you can specify the decimal point in the Format string like "%.;%f" (means fractional number with point as decimal point).
    best regards
    chris 
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • How to set the default display date of Calender prompt of SMPortal???

    Good Day!!
    As for as my knowledge, the default date Visible in all Calender prompt will be the
    Starting Date in the Specified date range either "RelativeDateRange" or "AbosoluteDateRange".
    But we have a requirement to set the default date to a date in the middle of the specified range, I don't find any option to specify in Request Offering Wizard or MP's xml file.
    Our scenario is as follows,
        We are trying to customize the CSPP's request offer "Request Virtual Machine", which has a user promt to select Decommission Date for the New VM. We have configured the date prompt as Relative Date range and set the
    Start date as "1 day next to user's current time" and Maximum date to "90 days after relative date".  So the user will get option to select Decomm date from (1-90) days with the defalut date as 1st day next to his current
    time. But our requirement is to set the default available date as 90th date in the above mentioned Relative Date Range.  
         I couldn't find any option in Request offering Wizard as attached below,
          Also I couldn't even find any tag to specify the default display date in the MP's XML file as attached below. Is there any other <tag> can be included inside <Details> tag to accomplish this ??
        Is there any other way to accomplish this???
        Please advise
    Thanks,
    Narayanababu
    Thanks and Regards, Narayana Babu

    This is probably a link editor parameter, see the linker and loader guide.
    Another thing you can do is write your own sbrk() that will log whenever it's called, so you can at least see how many times it's called and with what values. If you really need in-depth instrumentation, write your own heap routines and give them the same names as the CRTL routines. The linker should find yours first and route all memory operations through them. At least, that's the way it worked for me on SunOS 4.1....

  • Displaying Date & Time in Scheduled Worksheet

    I'm using BI Discoverer Plus & BI Viewer.
    In Discoverer I've set up a scheduled workbook to create a workbook once per day.
    It runs fine and creates worksheets as required.
    In Viewer I can open the Workbooks and Worksheets as required.
    I want the worksheet to contain the time & date when the data was brought
    into the report.
    It seems that the date and time is the date and time when I open the report for printing.
    Anyone know how I can get the report to include the time and date when the
    report was run, rather than when it is displayed/printed?
    Thanks
    Suhada

    Russ,
    I think perhaps I'm not explaining what I want very clearly so
    here's another attempt:
    What I want is in one place on the page, to show the date & time
    when the data was extracted.
    If I understand correctly, putting &Date and &Time in the Page Title
    displays the Time and Date that the Report is display on screen rather than when the Data was extracted from the database.
    If I create a Worksheet which has &Date and &Time in it and then
    refresh it and then print it then the date and time shown are about right.
    However if I create a scheduled workbook which say runs once per day,
    wait for a week and then open a report from a few days ago, the data shown
    was extracted a few days ago but the &Date and &Time show the current date and time.
    It seems to me that when you print a report, what's most relevant is the time
    and date when the data was extracted, rather than the time & date that the
    report is printed.
    I've worked in Business Objects before and it's fairly easy in that to set things
    up so that every report has on it both the date & time of when the data was
    extracted AND the date & time when the report was printed.
    So what I want is a way of showing on the report, the date and time at which the data was extracted, i.e. when the query was run.
    Just once, say in the top right hand corner of the page.
    I hope that's clearer.
    Suhada

  • Calendar:  Why not allow freedom to set alerts on any date/time?

    Hypothetically speaking...
    A man's wedding anniversary is every July 29th, however his memory has failed to prepare himself for the date appropriately for the last few years.
    He recently added this date to his Iphone Calendar app, however it only allows him to alert the event the maximum of 2 days before. Why not allow the freedom to set alerts weeks in advance? Or perhaps allow alerts to be provided at any date/time you feel necessary?
    I feel this scenario, and many varieties of others would benefit to the availability of this feature within the Calendar app.
    I also have one additional recommendation for the app. If an event is considered an ALL DAY event and an alert is set as a reminder, this alert will go off at midnight since it 'technically' is the beginning of the day. Quite annoying in my opinion. Lets also have the availability to set the alert notification time for ALL DAY events.
    I look forward to Apple recognizing these innovative ideas and providing these additions to their next upgrade! THANKS!
    Message was edited by: Drew Henderson

    I agree completely that this sort of freedom is needed.

  • Print to pdf, but don't wanna display date/time

    I'm using the print to adobe option to convert a html file to pdf, but everytime I do it, the resulting pdf file always display date and time at the bottom right of the page. Is there a way to get rid off that?
    thanks a bunch!

    Adobe Reader can't convert html to pdf.

  • Displaying date/time in the report of last updating data?

    Hi,
    I have produced a report over a multiprovider. The multiprovider is built up from tow cubes. The data is being updated to one cube each hour and to the another cube one time daily.
    The date/time that display in the report is for the last updating data of the cube that updating one time daily.
    I want that the date\time be updated each hour, in another words, to display the date\time of last updating data to the second cube.
    Any suggestions?

    Hi Mohamad,
    Please read through this discussion for a solution:
    ROLLUPTIME of a multiprovider
    Hope this helps...

  • Set default value for date/time to previous month

    Hi All
    I have two date/time parameters in my report and I want to set the default value for both the parameters
    For start date parameter I want the first date of previous month and for end date parameter I want the last date of previous month.
    Can someone please point me to the right direction
    Thanks
    Rone

    Hi Rone,
    These links can be helpful for you:
    http://www.bidn.com/blogs/hardikabhavsar/bidn-blog/1639/default-date-parameters-in-ssrs
    http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/584a98ae-bb75-4740-9198-e6be3c1aec12/
    Regards,
    Manoj
    *Happy to help
    http://experiencingmsbi.blogspot.com/

  • Displaying 'Date & Time' Column

    Hi there, I did do some searching/ reading prior to posting this, but haven't found what I'm looking for...
    I want to copy/ paste all my texts from my Nokia 6288 to my pc...
    -this works no hassle, I simply use the Nokia Phone Browser to load all my 'Inbox' and 'Sent Items' and move them to the desired folder on my hard drive...
    Problem is, in the Nokia Phone Browser, I get columns I can't seem to get in either Windows XP Pro or Windows Vista Business (which has more columns on offer)...
    This means, when im looking at the files on my PC, rather than using the nokia phone browser, i dont get the same details which is a bit of a problem for me...
    So what I want to know is:
    How do i get the Date & Time Column (and all the columns the Nokia Phone Browser displays) to show up in Windows XP or Vista or both?
    Thanks in advance

    Hi Austin,
    I have two remarks about that.
    1) It's better to put the population of change/history attributes into a table trigger of type before row where you assign these values. eg.:
    :NEW.CREATE_DATE := SYSDATE;
    :NEW.CREATE_USER := NVL(V('APP_USER'), USER);The reason is, it will consistently work for all applications which try to insert a record into this table and don't have to worry about change attributes and second, when you use the default property of APEX it will populate the column with the value when the new row was displayed and not when it was saved and third, a user would be able to fake this value and write something else into it (eg. with Firebug or by saving the HTML page) and "create" the record with a different time as you would expect. -> Define the column as "display only doesn't save state"
    2) Don't rely on automatic type conversion, remember that for APEX everything is a string that also means that your default value expression has to return a string to be 100% sure that it work on all systems where the default database format mask of Oracle could be different. Change your code to
    TO_DATE(SYSDATE, 'DD-MON-YYYY HH24:MI')Just some thoughts, but a testcase on apex.oracle.com is always good to reproduce and help with such a problem.
    Patrick
    My APEX Blog: http://www.inside-oracle-apex.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://apexplugin.sourceforge.net/ New!

  • PS Elements 6 - Displaying Date & Time in Slide Shows

    Is it possible to display the date & time of the photos during Slide Shows and Full Screen dislays?

    In Full Screen view, you can show captions by selecting Action Menu > Full
    Screen View Options > Include Captions. To show the date and time, do
    Action Menu > Show Properties, which will pop up the properties window. You
    can position the properties window wherever you want, but unfortunately it
    will likely overlap your photo a little.

  • Capture/Display Date & Time for Document Approval

    Hi Gurus,
    We are on SAP Enterprise Portals 7 SPS 15.
    I have enabled Document Approval in one folder in a repository.  The Document Approval works correctly; but I want to capture the date and time the document was approved at:
    Option 1 (Preferred):
    1. Click on "Details" from the "Context Menu" of the document.
    2. Click on "Settings"=>"Approval" in the popup window.
    Currently it only shows
    <Step-Name>  <Approver-Name> has approved
    Desired:
    <Step-Name> <Approver-Name> has approved on <Date-Time>
    Option 2:
    1. Approval Maintenance Report (under Content Management=>Reports=>Approval maintenance)
    Your guidance is greatly appreciated and I promise points.
    Thanks and regards,
      Pratik
    Edited by: Pratik Thakkar on Mar 19, 2009 9:42 AM

    Hi,
    Chk this [https://forums.sdn.sap.com/thread.jspa?messageID=115712]
    Regards
    Baby

  • Display date & time

    Hi,
    I have a few reports embedded in WAD. Now my requirement is to display the current date and time and also the date and time of the most recent data upload. How do I achieve this?
    Kindly assisst.
    Thanks.
    Darius.

    you can use text elements to get the most recent data upload time.. ROLLUPTIME would give this info..
    refer [http://help.sap.com/saphelp_bw33/helpdata/en/9f/4e9d39d44cd45ee10000000a11402f/frameset.htm]

  • How to display the Date Time using the System Time zone

    Friends,
    Can anyone help me with below scenario..
    I have to display Date Time on a jsff page, This value associated to one of Transient View object populated from the database.. Is there any way I can handle on the screen to display the same date /time bassed on the system time zone ?
    I know one way how we can handle it.. while populating to View object we can set the time based on the system time zone.. but it would be easy and simple if there is any approach I can use on UI layer itself..
    thanks

    I don't understand why this display doesn't pay attention to the date/time format settings that are set in the language and text prefs.
    Those settings are used for date OR time, and provide for different displays depending on the space available. The menu bar does not have a fixed space available, and wants both date and time.
    In Leopard, it used the medium time format. To get the date and time, you could modify that format to include the date, but that could cause problems with software that happened to use the medium time format and expectede just the time. Also, you might want to change the medium time format without changing the menu bar display. For these reasons, Snow Leopard's menu bar clock uses its own formatting for data and time display.

Maybe you are looking for