Layer7 API Management

  • 1.  Capture local time in context variable

    Posted Dec 12, 2018 11:06 AM

    Hi All,

     

    I'm trying to set local gateway time in set context variable assertion using {request.time.local} and {gateway.time.local}. But i able to capture time only in GMT instead CST timezone. Could anyone help to resolve this. 

     



  • 2.  Re: Capture local time in context variable
    Best Answer

    Broadcom Employee
    Posted Dec 12, 2018 12:17 PM

    Hello,

    The local time will be set to the timezone of the Gateway. To get your timezone specific time, use ${gateway.time.CST}.

     

    Regards,

    Joe



  • 3.  Re: Capture local time in context variable

    Broadcom Employee
    Posted Dec 24, 2018 09:43 AM

    Hi 
    I believe your questions has been answered, I will mark this as the correct answer.
    When your question is not answered or you still have additional questions please let us know.
    With Kind Regards

    Dirk