Forum Discussion

richie's avatar
Community Hero
6 years ago

Setting Date value in header using dynamic expression

Hey,   I have a POST request that includes a custom header.   The header (entitled 'filename') has a value with the format of 'UniqueID_datevalue.txt' (something like T1234567_170818.txt). ...
  • richie's avatar
    6 years ago

    aah  - I'm an idiot


    If anyone else gets stuck around this when trying to use the Date method - make sure your month in the string is UPPER case MM, rather than mm.


    I'm guessing mm equates to minutes considering the numbers that were generated, whereas MM equates to months!