Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- up vote
- 2
- down vote
- You can also access the date via the variable %DATE%
- When testing my system %DATE% produces dd/mm/yyyy
- you can use substring operators to produce the format you desire
- ie
- %DATE:~3,2%%DATE:~0,2%%DATE:~6,4%
- the substring argumenst are
- %*variable*:~*startpos*,*numberofchars*%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement