LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Level of CurrenDate parameter

    Employee
    Posted 02-04-2014 04:25

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Wizardous

    Hi,

    I've accidently noticed that if I declare a parameter named CurrentDate manually, It does not switch the internal CurrentDate parameter. So can we say that CurrentDate parameter's level is lower than the node parameter itself? And are there more parameters like CurrentDate, those we should prevent ourselves declaring?

    Thank you

    �zg�n


  • 2.  RE: Level of CurrenDate parameter

    Employee
    Posted 02-04-2014 08:18

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ltolleson

    �zg�n,

    Internal parameters such as {{^CurrentDate^}} cannot be overridden at any level of the node/composite/graph hierarchy. There is a list of special internal parameters listed in the BRE Help. From the BRE menu select Help->BRE Help. Once the help screen opens on the right-hand side of the screen select Parameters->Special Parameters. There you will find a list of internal parameters that can be used in your nodes.

    Thanks,
    Larry


  • 3.  RE: Level of CurrenDate parameter

    Employee
    Posted 02-20-2014 06:16

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Wizardous

    Thank you Larry,

    �zg�n


  • 4.  RE: Level of CurrenDate parameter

    Employee
    Posted 01-04-2017 15:26

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: cdc060376

    When we run the special parameter {{^CurrentDate^}} on LAE6.1.1 in BRE it comes back with "2012" as the date.

    This is the server it is running on and it's giving the correct date.
    [lavastorm@pmdcllvsas101 ~]$ date
    Wed Jan 4 15:59:59 CST 2017


  • 5.  RE: Level of CurrenDate parameter

    Employee
    Posted 01-04-2017 15:32

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: AdamParker

    Originally posted by: cdc060376
    					

    When we run the special parameter {{^CurrentDate^}} on LAE6.1.1 in BRE it comes back with "2012" as the date.

    This is the server it is running on and it's giving the correct date.
    [lavastorm@pmdcllvsas101 ~]$ date
    Wed Jan 4 15:59:59 CST 2017
    How are you using it in BRE?


  • 6.  RE: Level of CurrenDate parameter

    Employee
    Posted 01-05-2017 03:41

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: awilliams1024

    I think you need to use the parameter within quotes to get a string value or convert it a date type.
    Using the parameter without quotes results in an integer value (2011 for me). Either of the following should provide the date value:

    Today_str = "{{^CurrentDate^}}"

    Today_date = date("{{^CurrentDate^}}", "CCYY-MM-DD")

    Regards,
    Adrian


  • 7.  RE: Level of CurrenDate parameter

    Employee
    Posted 01-05-2017 10:03

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: cdc060376

    Thank you. It needed double quotes.

    It works with the code like this.

    emit "{{^CurrentDate^}}" as Y