Purpose
Convert a date to format YYYYMMDD

Solution

// sample value
// any date in valid date format:
// d.m.y, m/d/y, m-d-y, y.m.d, y/m/d, y-m-d  
Set V[mydate] "07.01.2018"

//use date calculations to force a specific date format
Set
V[diff] "&V[mydate]" - "01.01.1900"
Set
V[d] "01.01.1900" + "&V[diff]"
Set V[yyyymmdd] "&V[d](7-10)&V[d](4-5)&V[d](1-2)"

//now V[yyyymmdd] is "20180701"


 

Components
InputAssistant