User:BladeLakem/DniTimeTest

From Guild of Archivists

D'ni to surface, providing a partial D'ni time string. (D'ni time strings require an input mask for parsing). Default output format
{{Test/Vee/dni2surface|datetime=9647|input=hhhh }}
1991 AD April 21 16:54:00

D'ni to surface, provide Dni Time parts as individual parameters. Format sets output format (uses the format options of the #time command of ParserFunctions)
{{Test/Vee/dni2surface|hahr=9647|vailee=0|yahr=1|gahrtahvo=0|tahvo=0|gorahn=0|prorahn=0|format=ymd}}
ymd

Surface to D'ni, provide Surface Time as individual parameters. Format sets output (uses custom D'ni format options - also see in situ hyperlinking in format) {{Test/Vee/surface2dni|year=1991|month=4|day=21|hour=16|minute=54|second=00|format=[[HHHH XX]] drr RR rr}}
9647 DE 0 00 0

Surface to D'ni, given full surface datetime string (datetime strings accepted are the same as #time). Default output format {{Test/Vee/surface2dni|datetime=1991-04-21 16:54:00}}
9647 DE Leefo 1 0:0:0:0


D'ni to surface - full D'ni datetime string with input mask (non-traditional order in the specified mask). Default output.
{{Test/Vee/dni2surface|datetime=Leevotar 9646 12 0:23:10:19 DE|input=vvvv hhhh y g:t:r:p xx}}
1991 AD February 21 17:53:58

D'ni to surface, provide D'ni Time as individual parameters. Default output
{{Test/Vee/dni2surface|hahr=9646|vailee=8|yahr=12|gahrtahvo=0|tahvo=23|gorahn=10|prorahn=19}}
1991 AD February 21 17:53:58

Surface to D'ni, provide Surface Time as individual parameters. Format uses variable that indicates it outputs in Dnifont
{{Test/Vee/surface2dni|year=1991|month=2|day=21|hour=16|minute=54|second=00|format=dhhhh}}
%)]


D'ni to surface, provide D'ni Time as individual parameters. Default output
{{Test/Vee/dni2surface|hahr=5636|vailee=2|yahr=27|gahrtahvo=1|tahvo=8|gorahn=9|prorahn=18}}
2020 BC August 06 09:51:58

Surface to D'ni, provide Surface Time as individual parameters. Default output
{{Test/Vee/surface2dni|year=-2020|month=8|day=6|hour=8|minute=59|second=00}}
5636 DE Leesahn 27 1:4:18:11


D'ni to surface, provide D'ni Time as individual parameters. Default output
{{Test/Vee/dni2surface|hahr=-2|vailee=2|yahr=27|gahrtahvo=1|tahvo=8|gorahn=9|prorahn=18}}
7658 BC August 08 22:39:10

Surface to D'ni, provide Surface Time as individual parameters. Default output
{{Test/Vee/surface2dni|year=-7659|month=8|day=8|hour=21|minute=46|second=12}}
0003 BE Leesahn 27 2:3:19:9