User:BladeLakem/DniTimeTest: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
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)<br> | 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)<br> | ||
''<nowiki>{{Test/Vee/dni2surface|hahr=9647|vailee=0|yahr=1|gahrtahvo=0|tahvo=0|gorahn=0|prorahn=0|format= | ''<nowiki>{{Test/Vee/dni2surface|hahr=9647|vailee=0|yahr=1|gahrtahvo=0|tahvo=0|gorahn=0|prorahn=0|format=ymd}}</nowiki><br>'' | ||
'''{{Test/Vee/dni2surface|hahr=9647|vailee=0|yahr=1|gahrtahvo=0|tahvo=0|gorahn=0|prorahn=0|format= | '''{{Test/Vee/dni2surface|hahr=9647|vailee=0|yahr=1|gahrtahvo=0|tahvo=0|gorahn=0|prorahn=0|format=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) | 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) | ||
Line 19: | Line 19: | ||
---- | ---- | ||
D'ni to surface - full D'ni datetime string with input mask (non-traditional order in the specified mask). Default output.<br> | D'ni to surface - full D'ni datetime string with input mask (non-traditional order in the specified mask). Default output.<br> | ||
''<nowiki>{{Test/Vee/dni2surface|datetime=Leevotar 9646 12 0:23:10:19|input=vvvv hhhh y g:t:r:p}}</nowiki><br>'' | ''<nowiki>{{Test/Vee/dni2surface|datetime=Leevotar 9646 12 0:23:10:19 DE|input=vvvv hhhh y g:t:r:p xx}}</nowiki><br>'' | ||
'''{{Test/Vee/dni2surface|datetime=Leevotar 9646 12 0:23:10:19|input=vvvv hhhh y g:t:r:p}}''' | '''{{Test/Vee/dni2surface|datetime=Leevotar 9646 12 0:23:10:19 DE|input=vvvv hhhh y g:t:r:p xx}}''' | ||
D'ni to surface, provide D'ni Time as individual parameters. Default output<br> | D'ni to surface, provide D'ni Time as individual parameters. Default output<br> | ||
Line 32: | Line 32: | ||
---- | ---- | ||
D'ni to surface, provide D'ni Time as individual parameters. Default output<br> | D'ni to surface, provide D'ni Time as individual parameters. Default output<br> | ||
''<nowiki>{{Test/Vee/dni2surface|hahr= | ''<nowiki>{{Test/Vee/dni2surface|hahr=5636|vailee=2|yahr=27|gahrtahvo=1|tahvo=8|gorahn=9|prorahn=18}}</nowiki><br>'' | ||
'''{{Test/Vee/dni2surface|hahr= | '''{{Test/Vee/dni2surface|hahr=5636|vailee=2|yahr=27|gahrtahvo=1|tahvo=8|gorahn=9|prorahn=18}}''' | ||
Surface to D'ni, provide Surface Time as individual parameters. Default output<br> | Surface to D'ni, provide Surface Time as individual parameters. Default output<br> | ||
''<nowiki>{{Test/Vee/surface2dni|year=2020|month=8|day=6|hour=8|minute=59|second=00}}</nowiki><br>'' | ''<nowiki>{{Test/Vee/surface2dni|year=-2020|month=8|day=6|hour=8|minute=59|second=00}}</nowiki><br>'' | ||
'''{{Test/Vee/surface2dni|year=2020|month=8|day=6|hour=8|minute=59|second=00}}''' | '''{{Test/Vee/surface2dni|year=-2020|month=8|day=6|hour=8|minute=59|second=00}}''' | ||
---- | |||
D'ni to surface, provide D'ni Time as individual parameters. Default output<br> | |||
''<nowiki>{{Test/Vee/dni2surface|hahr=-2|vailee=2|yahr=27|gahrtahvo=1|tahvo=8|gorahn=9|prorahn=18}}</nowiki><br>'' | |||
'''{{Test/Vee/dni2surface|hahr=-2|vailee=2|yahr=27|gahrtahvo=1|tahvo=8|gorahn=9|prorahn=18}}''' | |||
Surface to D'ni, provide Surface Time as individual parameters. Default output<br> | |||
''<nowiki>{{Test/Vee/surface2dni|year=-7659|month=8|day=8|hour=21|minute=46|second=12}}</nowiki><br>'' | |||
'''{{Test/Vee/surface2dni|year=-7659|month=8|day=8|hour=21|minute=46|second=12}}''' |
Revision as of 02:55, 17 August 2020
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