Hello,
I'm afraid there is no native command for that purpose...
But you could work on the output of uxshw cal command. For example on linux:
uxshw cal mu=* | sed 's@^[A-Z][a-z]*day *:@DAY : @;s@ : @:@;s@Year : @Year:@;s@\([0-9][0-9]\) \([CHW]\)@\1:\2@g' | awk -F':' '/^Year:/{annee=$2} /^DAY:/{print annee ":"$0}'|sed 's@: @:--:-@;s@ @:@;s@: @:--:-@;s@ @:@;s@: @:--:-@;s@ @:@;s@: @:--:-@;s@ @:@;s@: @:--:-@;s@ @:@;s@: @:--:-@;s@ @:@;s@: @:--:-@;s@ @:@;s@: @:--:-@;s@ @:@;s@: @:--:-@;s@ @:@;s@: @:--:-@;s@ @:@;s@: @:--:-@;s@ @:@;s@: @:--:-@' | awk -F':' '{if($4=="H"){printf("%s/%s/%s\n",$1,"01",$3)};if($6=="H"){printf("%s/%s/%s\n",$1,"02",$5)};if($8=="H"){printf("%s/%s/%s\n",$1,"03",$7)};if($10=="H"){printf("%s/%s/%s\n",$1,"04",$9)};if($12=="H"){printf("%s/%s/%s\n",$1,"05",$11)};if($14=="H"){printf("%s/%s/%s\n",$1,"06",$13)};if($16=="H"){printf("%s/%s/%s\n",$1,"07",$15)};if($18=="H"){printf("%s/%s/%s\n",$1,"08",$17)};if($20=="H"){printf("%s/%s/%s\n",$1,"09",$19)};if($22=="H"){printf("%s/%s/%s\n",$1,"10",$21)};if($24=="H"){printf("%s/%s/%s\n",$1,"11",$23)};if($26=="H"){printf("%s/%s/%s\n",$1,"12",$25)}}' | sort
(This is just an example, and you can do better...)
-------------------------------------------
Original Message:
Sent: Jul 30, 2025 07:16 AM
From: Angus Reid
Subject: Extract holiday dates from Dollar Universe Calendar
Windows 2019 DUAS v 7.01.02
Want to extract the dates of the holidays defined in the general calendar in a usable format like dd/mm/yyyy. Can this be done by a command?
There are lots of date commands such as ext cal mu=mymu since=2024 however that just show the entire calender with holidays marked with a 'h'.
Is there a way to just get the holiday dates for a year from DUAS?
-------------------------------------------