Get server date, or day from server

Hey guys,
Just wondering how I can retrieve info from the server, such as day of the week for a gym timetable panel.
Basically I want to have an unordered show or hide different list items depending on the day of the week. So, if its Monday, a particular class will be shown while the rest are hidden for example.
Will I have to revert to javascript to solve this issue or are there generic tags I can use to get from the server?
Thank you

Hey there,
(nice user name)
No sever date or time.. Someone may post and say "Your wrong liam, there is this module.. {module_today}" But what they will not realise is that just renders javascript to get the current day, which of course is fetching the clients date info

Similar Messages

  • TS3899 I am getting 144+ emails a day from mail administrator. I do not recognize  these names nor did I send them an email. How can I stop these???

    I am getting 144+ emails a day from mail administrator. I do not recognize  these names nor did I send them an email. How can I stop these???

    We will need more information to be able to assist you.
    These message yoy are receiving are probably just a particular type of spam.  However it is also possible (unlikely) that your email account is being used to send spam, and that these are the bounce messages.
    To tell the difference, you need to look at the email headers.  Open the message, then go to the View menu and select Message -> All Headers.
    Select the text and post it back here (remembering to obscure your own email address first).
    Cheers,
    Rodney

  • How do you add a due date 2 days from today in a workflow

    So I'm creating a workflow that creates a task in a task list after I've added a new item to my clients list. So for example by adding a new client to the client list, a task will be set to 'Complete all contact details'. All I want to do is set a predetermined
    due date, so instead of picking the current date or a specific date I want the workflow to work out the due date 2 days from today. How can I do this? Please note that I want to be able to change the predetermined due date in the same work flow, so for another
    task I'd like it to be 4 days or a week from today.
    Thanks in advance! :)

    Hi Sarah,
    Thanks for posting your issue, 
    Go to your Tasks List and go into the List Settings. Click on the Due Dat column and tick the Calculated radio button. In the formula, put [Today]+2 and click OK. Go back to the list and select New and you'll see the Due Date is 2 days in the future.
    If you need to do this within the workflow, you'd use an Add Time to Date action, setting it up to add 2 days to the Current Item created by field. Then, you'd use an Update item action to update the Due Date field to the date variable the Add Time to Date
    action output.
    Also, browse below mentioned URL for more details.
    http://dlairman.wordpress.com/2010/10/14/limiting-sharepoint-workflow-due-dates-to-business-days/
    http://www.documentmanagementworkflowinfo.com/sample-sharepoint-workflows/4-ways-set-date-value-sharepoint-designer-workflow.htm
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Getting the date and time from NIST server

    I need to be able to get the date and time in an app and cannot trust the device's clock since the user could change it. Has anyone got an example of how to access an Internet time server such as the NIST servers from AIR for iOS?

    What is the best way to get the date and time?
    ThanksI am not sure that this is the best way. But one of the ways.
    <code>
    java.util.Date d = new java.util.Date();
    System.out.println("date is "+d.toString());
    </code>

  • Need To use SQL Code to Appt Dates 2 Days from current Getting Error

    I am trying to pull data that shows appt information on a patient:
    FName,LName, PhoneNumber, ApptDate, ApptTime, and Status that equals Active. I need to pull this info everyday. How can I set this up in a stored procedure to pull all this information automatically on a daily basis where it pulls by Appt Date that is 2 days greater than the current date?
    SELECT
         Patient.First,
         Patient.Last,
         Patient.HomeArea,
         Patient.HomePhone,
         Patient.Status,
         ApptHis.Date,
         ApptHis.Time
    From
         Patient, ApptHis
    Where
         Status= 'Active' and
         ApptHis.ApptHisDate >= dateadd(day,datediff(day,0,getDate())+2,0)     and
         ApptHis.ApptHisDate < dateadd(day,datediff(day,0,getDate())+3,0)
    Please Help I am getting an ORA-00900 Error.
    Thanks!

    In your select statement you specify the column ApptHis.Time but it looks like in the database the actual column name is Time1.
    Also, Date is a reserve word in Oracle. It's a really bad idea to create columns using reserve words. You may have to use double quotes (i.e. "Date") to specify the column name Date in your selects.
    Try this:
    SELECT
    Patient.First,
    Patient.Last,
    Patient.HomeArea,
    Patient.HomePhone,
    Patient.Status,
    ApptHis.Date,
    ApptHis.Time1
    From
    Patient, ApptHis
    Where
    Status= 'Active' and
    ApptHis.ApptHisDate between trunc(sysdate+2) and trunc(sysdate+3)-1/1440;
    NumbNutz

  • I am not getting the data in Bex from the cube

    Hi Experts,
    i am not getting the data from the cube to Bex,
    cube having the data, but i am not able to see this data in the Bex result area.
    Can  any one help me.
    Best regards,
    Bhaskar

    Hi
    In the manage cube, is reporting symbol is there for your requests
    If you have any red requests delete them and refresh
    If all requests having reporting symbols you may check the BEx without any filters or selection criterions
    Regards
    N Ganesh

  • Get the date and time from iframe.

    Hi,
    Am using jdeveloper 11.1.1.6.0., I have used the following iframe source which gets the date and time.
    <af:form>
    <iframe src="http://free.timeanddate.com/clock/i3xb4nm0/n1722/tt0/tw0/ts1" frameborder="0" width="244" height="19">
          </iframe>
    </af:form>
    I need to get the date and time separately to perform some validation. How can i  get it.
    regards,
    Prasad K T,
    9840021070

    Prasad,
    I don't understand your use case. The url you use is a json web service which returns it's result as either xml or json payload. Why do you pretty print this as a web page and try to get to the result this way?
    Why don't you get the result directly using the json result or (AFAIK) the java script api which the service also provides.  Check the documentation of the service.
    From your description I understand that the user enters a time. You need to know if the time is before or after 2:30pm and have to set a 'shift' to A or B.
    Where do I need a timeservice in this validation?
    From what I see your approach won't work. As I still don't understand the use case I don't know how to help.
    Timo

  • Getting partial data in PI from ECC using proxy

    Hi Consultants,
    I am working on Proxy to SOAP scenario. I have developed almost 20 scenarios. All are working fine as expected except 1 scenario.
    This scenario is troubling me and the problem is, in inbound message of PI, I am not getting whole data which is showing in proxy test in ECC system.
    Can anyone help me in solving this issue?
    Thanks in advance.
    Regards,
    Naushad

    Abhishek,
    I am filtering messages by date not by status. And I do not have authrizations to see the Integration Engine configuration.
    So, I have requested basis team to change the trace_level.
    It is priority for me to resolve this issue and I guess it is proxy issue. But I am not sure and I am not able to findout where is the issue and what is the solution.
    Regards
    Naushad
    Edited by: Nausheen shaik on Apr 20, 2010 3:44 PM
    ECC SXMB_MONI response payload and the PI SXMB_MONI inbound message payload is same.But there is a difference between ECC SXMB_MONI payload and the ECC SPROXY payload. If any one face this kind of issue then please provide me your inputs.
    As this issue is in ECC, I will log this query in ABAP Development forum.
    Regards,
    Naushad
    Edited by: Nausheen shaik on Apr 24, 2010 10:57 PM

  • Get week number for day from a list of days within a year..

    I am beginning in ORACLE / SQL and wondering how I can use this query to work with a column of Dates that span over a number of years?
    Ideally, I would like to use this script to add a number for the week of the year based on this.
    Then when a new year begins to start over..
    I am referencing an old thread..
    TO_CHAR with dates to get week number issue
    Here is what I have so far:
    I keep getting an error stating "Bind Variable "p_date_beg" is NOT DECLARED"..
    Thanks in advance for any help you can provide.
    DECLARE
    p_date_beg DATE;
    BEGIN
    SELECT RETRIEVAL_DATE
    INTO P_DATE_BEG
    FROM OBS_SELECT_LST12_SPG;
    WITH TAB AS
    (SELECT TO_DATE(TO_CHAR(:p_date_beg,'YYYYMM')||'01','YYYYMMDD') + LEVEL -1 DATE_COL
    FROM DUAL
    CONNECT BY LEVEL <=TO_NUMBER(TO_CHAR(LAST_DAY(:p_date_beg),'DD')))
    SELECT DATE_COL, TO_CHAR(DATE_COL, 'FMDAY') DAY,
    (CASE
    WHEN TO_CHAR(TRUNC(DATE_COL, 'mm'),'FMDAY') = 'SUNDAY'
    THEN TO_NUMBER(TO_CHAR(DATE_COL,'W'))
    ELSE CEIL((TO_CHAR(SYSDATE, 'dd') + 1 - TO_CHAR(NEXT_DAY(TRUNC(SYSDATE, 'mm'), 'SUNDAY'), 'dd'))/7)
    END) WEEK_NOB
    END;

    hi, referring to this link about ISO week, http://www.epochconverter.com/date-and-time/weeknumbers-by-year.php, here is the code:
    /* Formatted on 2012/06/13 06:32 (Formatter Plus v4.8.8) */
    WITH t AS
         (SELECT     MIN (TO_DATE ('20120101', 'rrrrmmdd') + LEVEL - 1)
                                                                       start_date,
                     1 week_th
                FROM DUAL
               WHERE TO_CHAR (  TRUNC (TO_DATE ('20120101', 'rrrrmmdd'), 'mm')
                              + LEVEL
                              - 1,
                              'FMDAY'
                             ) = 'MONDAY'
                 AND (   TO_DATE ('20120101', 'rrrrmmdd') + LEVEL - 1 <
                            TRUNC (NEXT_DAY (TO_DATE ('20120101', 'rrrrmmdd'),
                                             'THU'
                      OR (TO_DATE ('20120101', 'rrrrmmdd') + LEVEL - 1
                             BETWEEN TRUNC (NEXT_DAY (TO_DATE ('20120101',
                                                               'rrrrmmdd'
                                                      'THU'
                                 AND   TRUNC (NEXT_DAY (TO_DATE ('20120101',
                                                                 'rrrrmmdd'
                                                        'THU'
                                     + 7
          CONNECT BY LEVEL < 15),
         v AS
         (SELECT     t.start_date + 7 * (LEVEL - 1) start_date,
                     t.week_th + LEVEL - 1 week_th
                FROM t
          CONNECT BY LEVEL < 53),
         u AS
         (SELECT '20120501' dt
            FROM DUAL
          UNION ALL
          SELECT '20120502'
            FROM DUAL
          UNION ALL
          SELECT '20120503'
            FROM DUAL
          UNION ALL
          SELECT '20120504'
            FROM DUAL
          UNION ALL
          SELECT '20120505'
            FROM DUAL
          UNION ALL
          SELECT '20120506'
            FROM DUAL
          UNION ALL
          SELECT '20120507'
            FROM DUAL
          UNION ALL
          SELECT '20120508'
            FROM DUAL
          UNION ALL
          SELECT '20120509'
            FROM DUAL)
    SELECT *
      FROM u, v
    WHERE TO_DATE (u.dt, 'rrrrmmdd') BETWEEN v.start_date AND (v.start_date + 6);output:
    DT     START_DATE     WEEK_TH
    20120501     30/04/2012     18
    20120502     30/04/2012     18
    20120503     30/04/2012     18
    20120504     30/04/2012     18
    20120505     30/04/2012     18
    20120506     30/04/2012     18
    20120507     07/05/2012     19
    20120508     07/05/2012     19
    20120509     07/05/2012     19

  • Getting the data code infomation from my sony fx1 camera into final cut pro

    hi
    any help/advice would be great.
    i have shot some footage and am capturing it now,ideally i would like a time of day timecode
    i dont think the f1 has a timecode on it ,but when i press the data code button it shows the time at recording ,which is perfect for what i need, but when i look at the clip in the browser there is nothing in the media start and end box's.
    so my question is ,is there a way to have the data code information (ie time of day it is recorded) shown in fcp?
    cheers all
    simon

    i know i have posted it......
    but it has got me bothered as there must be a way to view the data code infomation in fcp and somehow see it in the media in and out like you do in time of day timecode i get from other cameras hoping some clever person will know what i can do or if its not possible at all even though the data code can be read by other mini dv cameras
    thanks all for your reply's

  • How to get the date in caps from solaris

    Hi,
    There is a requirement where the date should be 22-JULY-2008.When i used the date +%d-%B-%y i get the result as 22-July-2008.How can i convert it to
    22-JULY-2008.I tried a lot to get the results in this format but could not succeed.
    Can anyone suggest ?

    I am totally confused
    1) This is a forum discussing problems with downloads of Oracle products
    2) This seems to be a question about Solaris shells or some Oracle product running in Solaris shell
    If it truly is about the Solaris command 'date' ... Sun spends much money creating and maintining manuals and pages in manuals. You might get an adequate answer from http://docs.sun.com/app/docs/doc/816-0210/6m6nb7m46?a=expand (scroll down and click on the 'date' link)

  • How to get location data when uploading from DSLR?

    I have read that you can't add or edit location data when files are added to Photos in the new Yosemite version.  But does the location still get added when you upload via a wireless connection like on the iPad?
    If not, is there a workaround?I have ended up with thousands of photos on the iMac with no location data as a result of the upgrade.  I don't want to make the problem worse. 
    Any help or advice appreciated.

    I'm not exacting sure what the difference between tagging and geotagging is.  I do know that at present on my ipad (and I haven't upgraded it from IOS7 yet), if I import my DSLR photos to the ipad, when in a wifi environment, it adds the location to the photos where they were uploaded.  Without wifi, no location gets added. I actually haven't figured out a way to add location data to the photos using the ipad, is there a way?  I have always been advised before to use my mac to do that, which is no longer possible in Yosemite as far as I can tell. 

  • How to get multipe data set values from Decision Table.

    Hi All,
    I need to use SAP BRM for one of the scenario where based one some Code Group I need to get a set of questions and for each question a set of possible answers.
    The structure of Decision Table will be like below :
    Table 1 : To get set of questions based on Project Code
    Input                   Output           Output
    Project Code
    Question Id
    Question Description
    Table 2 : To get set of answers based on question
    Input                   Output            Output
    Question ID
    Answer Id
    Answer Description
    I already searched in forum to get the multiple values based on some input and that works fine for a single field with multiple outcome.
    Handling Selective Multiple Actions in  SAP Business Rules Management System
    In my scenario I need to get a set of Id and description as multiple outcome.
    Can anyone please let me know how this can be achieved in BRM.
    Thanks in advance
    Ravindra

    Create an XSD in the BRM project with the desired data structure and import the XSD alias in the 'Project Resources'. Add this XSD alias as input/output of the decision table.
    Refer this:
    Creating a Simple BRM Ruleset in 30 Easy Steps using NWDS 7.3 (Flow Ruleset with a Decision Table)

  • How to get the data of table from JSP to Servlet?

    Hi,
    I have a dynamic editable table of 3 columns on a jsp. On click on any cell the usr can edit the data. Now on click of submit button on the jsp I need to submit or get the whole data of all the rows to a servlet which would further process it.
    How do I do that?
    TIA.

    I am not sure whether u r getting my doubt or not
    properly. I am populating the table data in an
    arraylist of DO. with this arraylist I am displaying
    the data on the Screen.
    <%
    for(int i=0;i<alList.size();i++)
    DO d = alList.get(i);
    %>
    <Table>
    <tr>
    <td><%=d.getfirstField()%></td>
    <tr>
    </Table>
    <%
    %>
    The above code sniipet displays the data on screen.
    But as table being editable i would change the data
    in the cell and submit .
    So how do i capture this data? I cannot name the cell
    becos I am not sure how many rows would be displayed.
    In servlet I would use request.getParameter(?);
    TIAIf you table is editable nad has input field to edit then "malcolmmc's " answer will work perfectly.
    you can also use hidden form fields to use those vaues at servlet like this
    <input type="hidden" name="UniqueName' value="<%=d.getfirstField()%>'>
    Here UniqueName should be the unique for each cell value so that on servlet you can fetch these values using request.getParameter("UniqueName").

  • ALV - Maybe a NEW problem to get changed data, after input from ALV

    Hi all,
    I have tried to search an existing post to solve this ALV problem, with key words 'ALV' and 'refresh', but I don't find the good one... so sorry if the problem have already been solved.
    <u>An example of the problem and process should be more clear than words :</u>
    1) CALL ALV
    CALL METHOD grid1->set_table_for_first_display
         EXPORTING
                   is_layout        = gs_layout
                   is_variant       = gs_variant "&see below
                   i_save           = x_save     "&see below
                   I_BYPASSING_BUFFER = 'X'
         CHANGING
                   it_outtab        = t_zppegam[]
                   it_fieldcatalog  = GT_field_cat_entete[].
    2) User edit values from cells from ALV.
    For example, insert a new line with '+' button, and <u>fills each cells</u>.
    3) The problem is that at the beginning of the PAI
    there is a blank line into internal table t_zppegam,
    instead of the line with the data filled into cells ALV by user
    3') Internal table t_zppegam have the good data only if user clik on the button refresh of ALV, before go throw PAI.
    Have any suggestions? Thank you for your help.
    Best Regards,
    Tony.

    Hi all,
    I have just solved my problem...
    I have found this one into SE38 / BCALV_GRID_EDIT fifth program.
    data: l_valid(1) type c.
    call method grid1->check_changed_data importing e_valid = l_valid.
    Tony

Maybe you are looking for

  • Ipod instructions for downloading audiobooks offered by local library

    Trying to download an audiobook to ipod touch from local library.  Info says Transfer Wizard requires Itunes option Manually Manage Music (and videos) be enabled.  To enable View Summary info in Itunes and check Manually Manage Music, etc.  However,

  • What is the use of GUI status in Dialog programming

    what is the use of GUI status in Dialog programming,, how can it be used there,, as screen are alredy defined..

  • Load swf into an instance

    In the first frame of my movie, I want to load a swf into 'cwgmap' mc instance, which is inside 'thumbs' mc instance. I am attempting (with no joy!) thumbs.cwgmap.loadMovie("2014_map/thumbs.swf"); Any ideas how I can achieve this? The action must be

  • Ayuda problemas con SO  OS X MOUNTAIN LION

    COMPRE CON TARJETA DE CREDITO LA APLICACIÓN OS X MOUNTAIN LION, SIN EMBARGO EN EL PROCESO DE DESCARGA REPORTA UN ERROR, YA HE INTENTADO VARIAS VECES INICIAR NUEVAMENTE LA DESCARGA, SIN EMBARGO NO LO HE PODIDO INSTALAR SATISFACTORIAMENTE.

  • Restore dashboard to earlier state

    I have recently formatted my Mac, and I forgot to take a screenshot of my dashboard. I tried pulling the .plists from the Library/Preferences, I also copied the widgets and the dashboard-related cache-folder, also in found in my library. What I achie