Change the date variable date

good afternoon

I would like to change from a date extracted from Excel
example: 02/14/2020 06:53:42

change the day
eye: the value of the day comes to me in another variable

variable day = 16
variable date = 02/14/2020 06:53:42
result variable = 20200216

try that:

result variable = variableDate.tostring(“yyyyMM”) & variableDay

result variable will be a string


can you show me the datatypes of your used variables please?

should look like that:

1 Like



check you used variables. in the first write line you use the variable “fecha_gri” and in the assign to variable_result you use “fecha”


1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.