Skip to main content
Level 2
August 30, 2023
Respondido

How to pass system generated date in the URL parameter?

  • August 30, 2023
  • 1 resposta
  • 1079 Visualizações

I have a requirement to pass system generated date in the url in yyyy/mm/dd format. For example
www.xyz.com?dd=2023/08/30

 

I got the date in additional element is the required format using
Year(GetDate()) + '/'+Month(GetDate())+'/'+Day(GetDate()) and passed it into the URL but when I click on the preview generated, in the URL '/' is getting replaced by '%2F'.

www.xyz.com?dd=2023%2F8%2F30

 

How to stop this change and keep it in the original format?

 

Este tópico foi fechado para respostas.
Melhor resposta por SatheeskannaK

@navink7 URLs can only be sent over the Internet using the ASCII character-set. Since URLs often contain characters outside the ASCII set, the URL has to be converted into a valid ASCII format.

URL encoding replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits.

1 Resposta

SatheeskannaK
Adobe Champion, Community Advisor, UG Leader
Adobe Champion, Community Advisor, UG Leader
August 30, 2023

@navink7 URLs can only be sent over the Internet using the ASCII character-set. Since URLs often contain characters outside the ASCII set, the URL has to be converted into a valid ASCII format.

URL encoding replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits.

Thanks, Sathees