Hi all,
Background: I'm working on building a lightweight (microcontroller platforms) DateTime builder class that accepts various flavors of dates and times and assembles a formatted string, depending on the client/service selected format specifier.
I'm using this link as my point of reference:
http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a003169814.htm
If either of these duration specifiers are chosen:
How do I determine whether the third is the desired format? There's at least another ambiguous specifier, so should I come to rely on them, or just resort to using the ISO 8601 notations themselves?
Background: I'm working on building a lightweight (microcontroller platforms) DateTime builder class that accepts various flavors of dates and times and assembles a formatted string, depending on the client/service selected format specifier.
I'm using this link as my point of reference:
http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a003169814.htm
If either of these duration specifiers are chosen:
- $N8601B
- $N8601E
- PnYnMnDTnHnMnS
- -PnYnMnDTnHnMnS
- PnW (weeks)
How do I determine whether the third is the desired format? There's at least another ambiguous specifier, so should I come to rely on them, or just resort to using the ISO 8601 notations themselves?