Variable current date folder name for Windows command?

using dos style batch file,

for /f "tokens=2 delims==" %%I in ('wmic os get localdatetime /format:list') do set datetime=%%I
set thedate=%datetime:~0,4%%datetime:~4,2%%datetime:~6,2%
rclone  lsd wasabi01:testfolder01/%thedate%

woud output

rclone ls wasabi01:testfolder01/20210828 
      275 file.txt