- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 04-08-2020 01:26 PM
(13470 views)
I have a date variable that is currently formatted as YYYY-MM-DD, and is already a date/numeric variable type.
How can I change the format to YYYYMMDD without the dashes separating the year, month, and day?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Just change the format when you use the variable, or when you create the data set.
Use format YYMMDDN8.
By the way, your title implies you want three-digit year, you can't have that of course. This gives you a 4 digit year.
--
Paige Miller
Paige Miller