Timeline for Convert YYYYMM to MMMYY
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 26, 2020 at 20:01 | history | edited | AdmBorkBork | CC BY-SA 4.0 |
Golfed additional 6 bytes
|
Jun 24, 2016 at 15:24 | history | edited | AdmBorkBork | CC BY-SA 3.0 |
Thanks to @Joey for saving 3 bytes!
|
Jun 24, 2016 at 15:19 | comment | added | AdmBorkBork |
Excellent call with the -UFormat instead. Thanks! I also did not know about the quotes around MMMyy - that's good to know for the future.
|
|
Jun 24, 2016 at 15:00 | comment | added | Joey |
You don't need to quote the MMMyy , since it's a simple argument to a cmdlet. You also could just use -UFormat %b%y , i.e. -u %b%y instead, which is even shorter. Side note: This solution is locale-sensitive (which I personally dislike), but would be a fair bit longer to account for that, admittedly.
|
|
Jun 22, 2016 at 20:04 | history | answered | AdmBorkBork | CC BY-SA 3.0 |