Date format in current date (portal smart text)

Where can I edit colour, format of current date (portal smart text)?

Hi,
This might be a caching issue .. What version of portal are you using..
Can you also change the caching properties for the page so that its never cached..
Thanks,
Anu

Similar Messages

  • How to reduce the font size - "Portal Smart Text - CURRENT USER"

    Hi Gurus,
    I am showing the user name on the top left corner of our portal page. The default font size is little big(16 point size). How can I reduce the size to probably 10. I am using the "Built-In Navigation Item Types - Portal Smart Text - CURRENT USER" which shows the name of the current user. Please post a reply if you have any idea about this.
    Thanks
    Raj
    --------

    Put the item in its own region, assign a different style to the region, and set the font size for the Display Name attribute in the region's style.
    Or, you can use a PL/SQL item with this code:
    begin
    htp.p('<font size="-3">
    || portal.wwctx_api.get_user
    || '</font>');
    end;
    Regards,
    Jerry
    PortalPM

  • Get the format of current date - urgent

    Hi,
    In my apllication, I want to get format of current Date.Please help me regarding to this.
    thanks,
    Hiranmayi

    use SimpleDateFormat class
    SimpleDateFormat sdf = new SimpleDateFormat("dd-MMM-yyyy");
    String strFormatDate = sdf.format(new Date());this will give you the sting representation of current date

  • Portal smart text and privileges

    Situation in Portal r2
    I created a page template with navigation page in Shared objects page group. Navigation page contains Portal Smart Text such as Current User and Current Date. Then I created a new page group from page template. So then I wanted other user to use the root page of the new page group as his homepage, therefore I granted this user privilege to view the root page, page tamplate and navigation page (without publishing them to public). If a user has only privilege to view the root page this message appeared instead Current User and Current Date: "Error: ORA-06503: PL/SQL: Function returned without value". Only way how to avoid this situation I found is to grant the user at least Mange with approval.
    Mila

    The "display name" colour needed changing.

  • Error In Backdated Reservation Creation  Base date earlier than current dat

    Dear Experts,
    Error while creating Reservation for back date.
    Base date earlier than Current date.
    Can we create backdated reservation ? and post goods issue to the same ?
    if it need configuration please explain the steps for allowing creation of backdated reservations.
    Thanks in Advance

    What is the error message nos.?

  • Date rule for current date

    Hi.
    I have a date type for which I would like to fill DATE FROM field with current date, but the field DATE TO should stay empty for manual entry.
    I defined the following rule which I assigned to my date type but the problem with this rule is that it fills both fields (date from and date to) with current date.
    <?xml version="1.0"?>
    <TimeRule>
       <TimeRuleSource>
          <ruleline>
             <AssignTimeExp displaytype="AssignTime">
                <VarTimeExp displayType="VarTime"
                            name="RESULT"
                            position="F">
                </VarTimeExp>
                <ConstLocTimeExp displaytype="ConstLocTime"
                              date="now"
                              time="000000"
                              timeunit="DAY">
                   <VarObjectExp displaytype="VarObject" name="SYSTEM"/>
                </ConstLocTimeExp>
             </AssignTimeExp>
          </ruleline>
       </TimeRuleSource>
    </TimeRule>

    solved by other way

  • Formscentral - how do I change required date format to long date (e.g. January 2, 2014) in a form field?

    Formscentral - how do I change required date format to long date (e.g. January 2, 2014) in a form field?  I can't seem to change it from the short date format.

    Hi,
    I would suggest you to change the form language to English (UK), Here are the steps:-
    1. Open your form in FormsCentral
    2. Clik on Options tab
    3. Click on Language and Formatting and check out the selection for Form Language and make sure English (U.K.) is selected and the default date format should be day/month/year.
    Regards,
    Nakul

  • Is there any way we can set default value for a Date Attribute to current date in Master Data Services

    Is there any way we can set default value for a Date Attribute to current date in Master Data Services.
    I as well wants to know that is there any posibility to show Calendar control while input data into respective date attributes.
    Thanks.

    Hi Anagha,
    So far i havent found any way to set todays date by default from MMI, but i guess this flow should work as workaroud
    1. Add buisness rule which can set a default value when Date = NULL/Blank
    2.get the entity table ,use -select EntityTable from mdm.tblEntity where Name = '<enter entity name>'
    3.Go to that table and add a after update trigger like
    if uda_<entityid>_<attributeid(Date attribute)> = default value
    update uda_<entityid>_<attributeid(Date attribute)> =getdate() where id = <LastUpdatedRow>
    I will check on this too from my side.
    By the way AFAIK i dont think so calendar control integration is possible .

  • Can't get access in Time Machine to certain folders for any date earlier than current date/time.

    Can't get access in Time Machine to certain folders for any date earlier than current date/time, even when entering as Admin. Why do certain folders have small red "-" badge in lower right corner of folder icon?  Here's a picture of the dilemma:
    I've tried monkeying with priveleges using Command I, and changing users, but to no avail.  Can anyone help?

    Right.  Here's what the permissions look like from the Finder Command I:
    I'm not sure what "Custom" means, but when I then try to change it to "Read & Write", it doesn't take.... just comes back as Custom. Interesting to note that not only am I logged into Joan's account where the data folder and file lives) to do this, but when I do it from my own account  as Admin (dunc...mpster) I get the same result.

  • After updating new MIC in QP02 in Back date not showing current date ?

    Hi Guru,
    I have updated some new MIC and some Changes are made in existing MIC in QP02 on back date. It is showing on same back date with all correction and new MIC but on today's date i.e. current date it is not showing in the system.
    any can help me how to get in current date ?
    There are some dump error , for these correction i have updated SNOTE 1467234 and 1471534 in Quality server, but no more effect.
    Thanks,
    Piyush Patel

    hi,Premji,
    I have updated existing QP in back date i.e. same as when created original date ( expiration date is long i.e. 31.12.9999) , then same thing i wanted to see all updated MIC should be reflect in current date, but it is not coming, so i have updated SNOTE- 1467234 and 1471534 then tried it.It is working fine some how but not as i want.Hence i thing it is solved my problem.
    Thanks to you and Mr. Craig for your more suggestion/guidance.
    Piyush Patel

  • Last month end date based on current date

    Hi,
    How to show last month end date based on the current date.
    Eg:
    Current date = "08/26/09"
    Var- Last Month End Date = "07/31/09" etc...,
    Please help me how to get it...
    Thank You!

    Good to hear that it worked for you. but not for me.
    I tried like this:
    1st::
    1. var1= ToDate("06/30/09","MM/dd/yyyy")
    2.Var2= RelativeDate([Var1];-DayNumberOfMonth([Var1]))
    result: 5/30/09
    2nd:
    RelativeDate('6/30/2009';-DayNumberOfMonth('6/30/2009'))
    result: 5/30/09
    Am working on SAP OLAP cubes.
    Please help me where am going wrong....
    Thank You!

  • FM to get previous sunday date based on current date(SY-DATUM)

    hi all,
    Is there any function module to get the previous sunday date based on current date(sy-datum)?
    Regards,
    Kapil Sharma

    Hi Kapil,
    You can follow the logic below:
    data:
    l_date like sy-datum, **TODAY
    l_date2 like sy-datum, **Previous Sunday
    data:
    l_daynr like HRVSCHED-DAYNR.
    *Get today's date
    l_date = sy-datum.
    *Gey today's day (Monday, Tuesday, etc.)
    CALL FUNCTION 'HRIQ_GET_DATE_DAYNAME'
    EXPORTING
    langu = 'EN'
    date = l_date
    IMPORTING
    daynr = l_daynr.
    CASE l_daynr.
    *If it is Monday
    WHEN 1.
    -Subtract 2 days for the previous Sunday
    CALL FUNCTION 'HR_SEN_CALE_DAYS_DATE'
    EXPORTING
    id_date = l_date
    id-operator = '-'
    is_duration = 2
    IMPORTING
    ed_date = l_date2.
    *If it is Tuesday
    WHEN 2.
    CALL FUNCTION 'HR_SEN_CALE_DAYS_DATE'
    EXPORTING
    id_date = l_date
    id-operator = '-'
    is_duration = 3
    IMPORTING
    ed_date = l_date2.
    *If it is Wednesday
    WHEN 3.
    CALL FUNCTION 'HR_SEN_CALE_DAYS_DATE'
    EXPORTING
    id_date = l_date
    id-operator = '-'
    is_duration = 4
    IMPORTING
    ed_date = l_date2.
    *If it is Thursday
    WHEN 4.
    CALL FUNCTION 'HR_SEN_CALE_DAYS_DATE'
    EXPORTING
    id_date = l_date
    id-operator = '-'
    is_duration = 5
    IMPORTING
    ed_date = l_date2.
    *If it is Friday
    WHEN 5.
    CALL FUNCTION 'HR_SEN_CALE_DAYS_DATE'
    EXPORTING
    id_date = l_date
    id-operator = '-'
    is_duration = 6
    IMPORTING
    ed_date = l_date2.
    *If it is Saturday
    WHEN 6.
    CALL FUNCTION 'HR_SEN_CALE_DAYS_DATE'
    EXPORTING
    id_date = l_date
    id-operator = '-'
    is_duration = 7
    IMPORTING
    ed_date = l_date2.
    *If it is Sunday
    WHEN 7.
    CALL FUNCTION 'HR_SEN_CALE_DAYS_DATE'
    EXPORTING
    id_date = l_date
    id-operator = '-'
    is_duration = 8
    IMPORTING
    ed_date = l_date2.
    ENDCASE.
    Regards,
    Dilek

  • FM to get the previous sunday date based on current date(sy-datum)

    hi all,
    Is there any function module to get the previous sunday date based on current date(sy-datum)?
    Regards,
    Kapil Sharma
    Moderator Message: Basic date related questions are not allowed
    Edited by: Suhas Saha on Sep 19, 2011 11:39 AM

    Hi,
    There are function modules to find out the current day of the week depending on sy-datum. These are as below:
    1. DATE_COMPUTE_DAY - Returns a number indicating what day of the week the date falls on. e.g. Monday is returned as a 1, Tuesday as 2,...., Sunday as 7.
    2. RH_GET_DATE_DAYNAME  - Returns the day based on the date provided, e.g. Monday, Tuesday,..., Sunday.
    Using any of the above, if you can find out the current day, then you can calculate and compute the date of the previous Sunday.
    My observation is that using the first FM might make the calculation simpler.
    Hope this is of help to you.
    Regards,
    Shayeree

  • Portal smart text colour

    I'm using portal 10.1.2 and I have added some portal smart text to a page.
    I have changed the style for the item region to change the background colour and the colour of the text. The background changes but the colour of the text stays black.
    How do I change the color of the text?
    Thanks in advance.

    The "display name" colour needed changing.

  • How to compare date with thr current date

    Hi,
    I have an inout string which is in date format(dd/mm/yyyy hh:mm:ss) .
    what i need to do is comparing this date string with the current date. if my input string is less than current date , then display error message..
    how to do this?
    regards

    Excellent suggestions from all of you people!
    finally i got the solution
    code is:
    import java.util.*;
    import java.text.*;
    public class TestDate {
      public static void main(String args[]){
        TestDate a = new TestDate();
      TestDate() {
        String DATE_FORMAT = "dd/MM/yyyy hh:mm:ss";
         Date today = new Date();
         Date myDate=null;
        java.text.SimpleDateFormat sdf =
             new java.text.SimpleDateFormat(DATE_FORMAT);
         try{
         myDate = sdf.parse("01/06/2006 00:00:00");
         }catch(Exception e) {System.out.println(e);}
        Calendar c1 = Calendar.getInstance();
        Calendar c2 = Calendar.getInstance();
        c1.setTime(today);
        c2.setTime(myDate1);
        System.out.print(sdf.format(today));
        System.out.print(sdf.format(c1.getTime()));
        if (c1.before(c2)) {
           System.out.print(" is before ");
        if (c1.after(c2)) {
           System.out.print(" is after ");    
        if (c1.equals(c2)) {
           System.out.print(" same as ");    
    System.out.print(sdf.format(c2.getTime()));
      }

Maybe you are looking for

  • My daughters bluetooth keyboard won't work with voiceover since upgrading to iOS 8.1 - how can i fix this?

    My daughter has a Greatshield bluetooth keyboard which she has been using successfully in school with her iPad mini. she is blind and uses voiceover to navigate and to have what she has typed read back to her. Since updating to iOS 8.1 the keyboard n

  • The umpteenth Boot Camp fan driver topic.

    Hello all, This is a Boot Camp question, but as it specifically relates to the Mac Pro, so I'm posting it here. I recently upgraded from 10.4.11 to 10.5.6, and from Boot Camp Beta to Boot Camp 2.0. I had previously used Boot Camp Beta, primarily and

  • Problème avec iphoto

    bonjour, j'ai voulu mettre une signature sur une photo (qui était sur iphoto) via l'aperçu, quand j'ai voulu l'envoyer sur iphoto avec la signature, j'ai eu un message disant quelle était déjà sur iphoto. Le problème est que la photo n'est plus lisib

  • Charging iPad in the car

    Can I use the iPhone auto charger to charge my iPad?

  • RMS Supplier VC required attribute

    Hi, In RMS supplier maintenance page, there is VC required, VC pnt, VC frq attribute. Do you know what they are used for? How will they impact the business? Thank you for your help. Best Regards, Eileen