Date display format

I've built my first SharePoint app with Visual Studio using an Azure SQL database.
The app is for the UK and all date fields are in the dd-mm-yyyy format.
No problems with the date fields during development except that, when querying the database within the Azure management portal, date fields are displayed in the mm-dd-yyyy format.  Otherwise, whilst running the app on the local IIS all date fields
are entered and displayed in the dd-mm-yyyy format without any problems.
I have now deployed the app to Azure Websites.  Works fine except all the dates are displayed in the mm-dd-yyyy format.  To add or update a date, my code requires the dd-mm-yyyy format, which then produces an error.
Your help would be much appreciated.  Apologies in advance if I have posted this to the wrong forum.
Thanking you in anticipation.
Roger 
rogerwithnell

Hi,
If the only concern is about the date format then you can do the conversion in different format through CONVERT() fun too in Sql. If you want to do the changes on code or application level then you need to use String function to do the changes.
Regards,
Mukesh
egards,

Similar Messages

  • Data display Format issue.

    Hi ,
    I have the following columns for a single item(SingleVO),
    ItemNo, SugQty, OrdQty, Description,
    I would like to display the data in a table(Normal table or in a Advanced Table) with the
    following format. If there are 50 items, First row should display the First Item's
    itemno, sugqty, orgqty and the secondrow should display the description of the first item and third row should display the Second item's itemno, sugqty, orgqty and the fourthrow should display the description of the second item ....etc.
    Column Names:
    |-------------------------------------------------------|
    |Itemno |     SugQty     |     OrdQty     |     
    |-------------------------------------------------------|     
    |<---------Description--------------------------------> |
    |-------------------------------------------------------|
    Data:
    |-------------------------------------------------------|
    |12344 |     63 |     60     |     
    |-------------------------------------------------------|     
    |<---------Dulux Paint No2----------------------------> |
    |-------------------------------------------------------|
    |12345 | 98     |     100 |     
    |-------------------------------------------------------|     
    |<---------Table set ------------------------> |
    |-------------------------------------------------------|
    I tried with advanced table merging functionality, i couldn't get this type of display.
    Pointers are appreciated.
    (Since we are doing this application for Mobile devices we need to get this kind of display)
    Thanks.
    With Regards,
    Kali.
    OSSI.
    Format change.
    Message was edited by:
    Kalimuthu V
    Message was edited by:
    Kalimuthu V

    Thanks Ranjit,
    We build the table dynamically using rows and columns with the required spans.
    So that we could achieve the same display format.
    Thanks.
    With Regards,
    Kali.
    OSSI.

  • How To change the Date display format to dd.mm.yyyy format

    Hello friends
    I am expected to display the date fields in my BEx reports in the standard dd/mm/yy format. However, I find that it is getting displayed in mm/dd/yyyy form.
    This is creating a bit of a confusion for the client.
    Hence can someone please let me know, if I can make any change to the way the date is displayed in the reports.
    Looking for a prompt reply
    Thanks in advance
    regards
    Zubin Kurian

    Hi Zubin,
            There are some corrections in that coding.
    year = year+2(2).
    CONCATENATE day month year INTO l_date SEPERATED BY u2018/u2019.
    Regards,
    Yokesh.

  • PHP/MySQL Date display format

    Can someone help me out here. I am trying to format my date.
    My MySQL is a "datetime". How ever I would like to display only the
    month, day, year like so "Jan,15,2007"
    Here is my current code, what should I add to make it do what
    I want.
    <?php echo $row_Recordset1['review_date']; ?>
    Thanks

    Try this:
    <?php echo Date("M d, Y",
    strtotime($row_Recordset1['review_date'])); ?>
    Ken Ford
    Adobe Community Expert
    Fordwebs, LLC
    http://www.fordwebs.com
    "newhorizonhosting.com" <[email protected]>
    wrote in message news:et7lf6$q8a$[email protected]..
    > Can someone help me out here. I am trying to format my
    date. My MySQL is a
    > "datetime". How ever I would like to display only the
    month, day, year like so
    > "Jan,15,2007"
    >
    > Here is my current code, what should I add to make it do
    what I want.
    >
    > <?php echo $row_Recordset1['review_date']; ?>
    >
    > Thanks
    >

  • Default date should be displayed in Locale's date short format in Prompt

    Dear BI Gurus,
    I would like to take your attention to resolve one of date format issue which we are currently facing.
    We want to display Current_Date in locale's date short format ( For US: MM/DD/YYYY and for UK: DD/MM/YYYY) in a dashboard prompt. Also we need to pass the the prompt value to the report filter through presentation variable.
    For this we used logical sql to get the default value as select Times.time_id from sh when times.time_id= Current_Date. Once I click on the preview button it was showing in locale's date short format. But when we place the prmpt in dashboard, the default date was coming up in 'YYYY-MM-DD' format. But since calendar picker is giving value in locale's date short format (For US: MM/DD/YYYY and for UK: DD/MM/YYYY), there is an inconsistency in the display format. So could you please provide any workaround to make them consistent.
    Thnaks,
    Siva Naga Hari.
    Edited by: user6371352 on 27-Mar-2010 13:50

    Hi Vinay,
    Thanks for reply.
    We are looking for default date display format in dashboard prompt. i.e For US locale, default date and calendar picker should be displayed in MM/DD/YYYY and for UK locale, default and Calendar picker should be displayed in DD/MM/YYYY.
    We don't have any problem in report output for different locales. Also we don't need to create 2 seperate reports for different locales. If we set the data format to [FMT:dateShort], it will display as per the locale's date short format. Please provide workaround to display in dashboard prompt.
    Thanks,
    Siva Naga Hari.

  • Date and number display format

    Hello all,
    I am new to Adobe Form, and I am quite unimpressed with how difficult it is to do the most simple things.
    I have managed one way or another to solve all my problems until now, but this one got me stuck.
    I have date and number fields in my form, and here is what I want to do but cannot:
    - I need these fields to be displayed using the defaults date and number settings of the SAP user who is generating the form. This one is really hard for me to figure out.
    - I need some other fields to be displayed in a specific format depending on a variable in the context of my form. I imagine this could be done using scripting, but how to change the display format of a field via scripting?
    Anyone has an idea of how that can be achieved?
    Thank you.

    Hi Thomas,
    For these kind of issues you will get many answers if you search the forum.
    If your requirement is to display the current date in the form, just drag and drop the "Current date" UI element from the Library palette -> Custom.
    If it is to get the date from SAP and display, pass date to the context node and just drag and drop the field into the form from the data view.
    Check the following wiki by Chintan. It explains some common scenarios in javascript.
    [JavaScript Part 1|http://wiki.sdn.sap.com/wiki/display/ABAP/JavaScriptforCommonScenarios-PartI]
    [JavaScript Part 2|http://wiki.sdn.sap.com/wiki/display/ABAP/JavaScriptforCommonScenarios-PartII]
    Use an 'if' condition, check the value and based on the value you can make the field hide/visible in the form.
    Hope this will help.
    Thanks & Regards,
    Sanoosh

  • How to change date picker display format?

    Default display format is 01-JAN-09 for date picker.
    How can I change it to
    Jan 21, 2009
    Thank you.

    If you need use your format for all data pickers in your application you can set it via:
    Go to
    Shared components ->Definition->Globalization (Tab) -> Application Date Format SET to Mon DD,YYYY
    and in the item Display as set "Data Picker (use ppplication format mask)"
    If you need set format to some data picker you have to go to your data picker item and Display as set "Data Picker (use item format mask)"
    and
    Go to Source region in this item and set Format mask field Mon DD,YYYY

  • Date/time display format

    Hello,
    I was wondering how I can change the display format of dates and times in Lightroom.
    It is now in US format (mm/dd/yy, AM/PM), but I prefer the European dd-mm-yyyy 24h format.
    Can't seem to find it in any of the preference or settings menus.
    Cheers,
    Marinoz

    Where are you meaning for the display?
    I get this with the Info display

  • Change Display Format of Date Field

    Hi,
    How can I change the display format of a date?
    When the field is displayed as a DateField the data format is good, but can I change the format? The problem with a DateField is also that the field can be updated and that shouldn't be possible.
    When the field is displayed as a DisplayField the format looks worse. It looks like it's doing a toString from a Data variable.
    Could someone tell me what is the best way to Display a Date from the database? The users shouldn't be allowed to change the value.
    Thanx

    Use something like this:
    <messageDateField name="Birthdate" promptAndAccessKey="Birthdate" data:text="Birthdate" anchor="Birthdate" persistent="true" dataObject="uNextMonthsBirthdaysSet" data:value="Birthdate" data:readOnly="isViewing">
      <onSubmitValidater>
        <date dateStyle="shortish"/>
      </onSubmitValidater>
    </messageDateField>

  • How to fetch the data & display the data if fields got the same name in alv

    hi frnds, i need ur help.
    how to fetch the data & display the data if fields got the same name in alv grid format.
    thanks in advance,
    Regards,
    mahesh
    9321043028

    Refer the url :
    http://abapexpert.blogspot.com/2007/07/sap-list-viewer-alv.html
    Go thru the guide for OOPs based ALV.
    Use SET_TABLE_FOR_FIRST_DISPLAY to display the table:
    CALL METHOD grid->set_table_for_first_display
     EXPORTING
    I_STRUCTURE_NAME = 'SFLIGHT'     “Structure data
    CHANGING
    IT_OUTTAB = gt_sflight.          “ Output table
    You can also implement
    Full Screen ALV, its quite easy. Just pass the output table to FM REUSE_ALV_GRID_DISPLAY. 
    For controlling and implementing the FS-ALV we have to concentrate on few of the components as follows :
    1. Selection of data.
    2. Prepare Layout of display list.
    3. Event handling.
    4. Export all the prepared data to REUSE_ALV_GRID_DISPLAY.
    Regd,
    Vishal

  • Specifying date time format in Finder

    How can I specify the date-time format in Finder for the "date-modified" and "date-created" columns in list view?
    About three years ago, I got a command line instruction to set these formats and I kept it at mm/dd/yy
    Then a couple days ago, I changed the date format in iStat menus and the date-time formats started acting weird. I want the dates to be like "07/08/05" (mm/dd/yy) and then the formats started changing to "November 07, 2008" (month/dd/yyyy). This change seemed to take effect any time I open the view options for a folder. Now I discovered that the date format change depending on the column width according to the format specified in system preferences, international, formats.
    Narrow column, short date format; a little wider to long format, with ellipses if the column is not wide enough; then full format.
    Does anyone know the command line to set the format to keep it to the one I want?

    this doesn't seem to be it. however I now like the way Finder does display dates -- format gets more compact as the width of the column decreases; although there still is some excess space left on the left -- perhaps for AM & PM which I don't use; I use a 24 hour time format instead.
    Happy New Year

  • IPhoto 6 - Date Display Bug?

    I've gone ahead and upgraded to iPhoto 6. Upon first launch, it asked to update the files which I did.
    The new file hierarchy issues aside (Original/Year/Roll drives me nuts), I've noticed that while the calendar shows the correct pictures of the day selected, the Roll name is generic ("Roll 567", etc.) and the date of the roll is not correct.
    For example, a roll taken on December 25, 2005 should have the date of 31/12/05 (or perhaps 12/31/05) but I'm seeing "12/05/05" and when I get info on a pic in that roll, the date taken is shown as "12/2005/2005".
    I've deleted the plist but not sure what else I can try.

    Figured out that the "corrupt" date display is due to custom format display settings for Date in the International preference pane. Set that back to standard and the photos are back to normal.

  • Video Playback in synchroniz​ation to data display

    I've read a bunch of topics about recording live video, but my question has to do with playback synchronized to a data display.  I've got a simple black and white camera (RS170) already.  I'm going to get some sort of capture board.  I want to record video from this camera to the hard drive.  The reason is that this video file needs to be analyzed later so I need to store it on disk instead of memory as it could be days later.  While I'm recording video, another signal needs to be recorded.  It could be anything really, let us say temperature for discussion.  Assume everything is in place for this temp. acquisition. 
    Recording video to disk doesn't seem to be any problem.  My question relates to playing this video back such that when you play it, you can also look at a data display of the recorded temperatures that happened at the same time as the video was recorded.  If you were to drag the video slider manually (instead of just pressing play), the data display would also update accordingly.  This essentially syncs the data display of temperature with the video picture you are seeing.  Pressing play and just watching the video, the temp data would update itself with the correct historical values.  Pressing pause on the video, would of course freeze the temp display to the value at that time.  Wherever the video is, the temp data would have to display the correct historical value.
    I would need to record possibly a few hours of video a day so disk space could be an issue if using uncompressed AVI format.  I wouldn't have to save every days video file so I could eventually delete a bunch of the files.  I'd just save the days video that produces interesting results to examine later.  A number of video files might build up (a months worth?) before the directory is examined for possible deletes.  I'd like some feedback on this too from someone who has tried uncompressed AVI versus something else that is compressed.  Is performance OK if using compression? 
    The computer I'd be running this on is the latest workstation class machine from HP so it is a fairly powerful computer.
    Is there any sample code of doing this video playback indexing to data signal display?  I'm thinking there would have to be some function to know where the video is playing at all times and then historically retrieve the temperature data.  Is there performance issues with this?  I'd want it fairly accurate such that the smallest increment of a video frame (say 30 times a second) produced a proper data display for temperature.  In reality, my signal will change faster than a typical temperature value would.

    I doubt this will satisfy 100% of what you're looking for, but it should at least get the conversation started on developing some techniques we can use to syncronize acquired data playback (again, let's say temperature) with some external source. I don't know much about video playback, so I won't be able to help you much there, but I do know a lot about leveraging LabVIEW technology to play back data in real-time as best possible, while allowing the user (or the video playback itself) to dictate a specific position at any time, pause, etc...
    My first recommendation would be to save your acquired temperature data as a Waveform. Waveform is more or less like a cluster with three elements: a 1D array of Y-values, an intial time (t0), and the time between samples (dt). You can use these three pieces of information to reconstitute when each sample was acquired and what the timing should be configured for to play these samples back in real time. Search the web for information on writing Waveforms to file and reading them. You should find plenty there (or post somewhere else ).
    After that, we can use a Timed Loop for playback. Timed Loops allow you to set a desired Loop period. They also have a lot of other capabilities, such as setting priorities, handling the fact that your last loop didn't finish on time, etc. Here's a link with more info on Timed Loops. Other than that, Timed Loops can operate like regular while loops.
    My next idea is to incorporate a current position that we keep track of. This could be, for instance, the index of the current element in the 1D Y-values array. If you want this to involve user interaction with the front panel (for instance, changing a Slider value to reflect the playback position), then you could use an event structure with a timeout case set to zero. Then update the temperature value and increment the current position in the timeout case.
    You might take a look at the example I've written in LabVIEW 7.1 that "acquires" 5 seconds of sine wave data and plays it back in real time. The user can adjust the position or pause the playback at any time. Again, I don't know exactly how this would interface with video feedback. If you have more specifics about what method you will use to playback the video, maybe someone with more expertise in this area could help us out.
    Jarrod S.
    National Instruments
    Attachments:
    Signal_Playback_Realtime.vi ‏223 KB

  • Problem in reading the row values in table display format.

    Hi All
       I created UI asTable display format using three columns( name, email and resume ).
    In this Resume column type is Link to Action. This entire column contains text as Resume  - this element type is Link to action.
    When click on Resume that respective row values I have to capture.
    I have used following code, but It is capturing based on lead selection. ( On the UI, lead selection row is different and clicking on Resume row is different ).
    DATA lo_nd_email TYPE REF TO if_wd_context_node.
      DATA lo_el_email TYPE REF TO if_wd_context_element.
      DATA ls_email TYPE wd_this->element_email.
      DATA lv_email_ref LIKE ls_email-email_ref.
    navigate from <CONTEXT> to <EMAIL> via lead selection
      lo_nd_email = wd_context->get_child_node( name = wd_this->wdctx_email ).
    get element via lead selection
      lo_el_email = lo_nd_email->get_element(  ).
    lo_el_dashboard_1->get_attribute(
        EXPORTING
          name =  `NAEM`
        IMPORTING
          value = lv_name ).
    Please help me on this ..thanks in advance....

    Hi,
       Just declare a variable in the parameters of the method,which u declare for the cell action.
    CONTEXT_ELEMENT      type ref to                      CONTEXT_ELEMENT         as importing paramter
      code:
        context_element->get_static_attributes(
          IMPORTING
            static_attributes = stru_sflight ).
    this will surely solve ur problem
      regards,
    Madhu

  • How do you add a format to the "Date Picker Format Mask" available formats?

    Hi,
    When I select the Date Picker Format Mask or "Number / Date Format" they doen't have YYYYMMDD or others that may be desired...
    How do you add a format to the available formats?
    Thank you, Bill

    Bill - From the popup help text:
    If you need to create a Date Picker item, but the format you need does not appear in the Display As list, select Date Picker (use application format mask). When an application uses this type of date picker, the Application Express engine derives the date format from an item named PICK_DATE_FORMAT_MASK. You can populate this item in two ways:
    - By defining an application substitution string named PICK_DATE_FORMAT_MASK
    - By creating an application-level item named PICK_DATE_FORMAT_MASK
    See the doc for more details.
    Scott

Maybe you are looking for

  • Load Image into JApplet

    Hello to all Java expect coder, i would like to load an image to an applet but after it flash once time then it just disappear. Below is my code : * SodaVendingMachineApplet.java * Created on June 8, 2008, 4:08 PM import java.awt.*; import java.awt.i

  • Deploying Applications in different folders

    Hi, Can we deploy the applications of different Managed Servers in different folders in "applications" directory? If it is possible how do we do? This is our current configuration: WebLogic Server 6.0 Sp1 in Solaris 2.6 Regards Siva.

  • Can't see video in QuickTime 7 for Windows XP SP2

    I used iTunes and QuickTime 6, then upgraded to iTunes & QuickTime 7, after that I cannot see most movies (.mov files) saved on my desktop, there is a sound but instead of picture I see horizontal colorful lines. Tried to downgrade to iTunes & Quickt

  • Unable to install LELA Platform

    Hello, I am running on a Windows Vista Service Pack 2 x32. I am using a WRT310N router and I am unable to install LELA. Whenever I attempt to install LELA, it stops at Installing PlatformSteup.exe and gives me an error message saying "Linksys EasyLin

  • Charts and Language problem...

    Hi Everyone, I have the following problem. I am trying in a COLUMNS_STACKED_3D Chart (or whatever the chart is) name of company and amounts. If I write the name of the campanies in english, everything works fine. But if I write the name in hebreu, I