User:BladeLakem/DniTimeTest: Difference between revisions

From Guild of Archivists
mNo edit summary
mNo edit summary
 
Line 5: Line 5:
'''{{Test/Vee/dni2surface|datetime=9647|input=hhhh }}'''
'''{{Test/Vee/dni2surface|datetime=9647|input=hhhh }}'''


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<br>
''<nowiki>{{Test/Vee/dni2surface|hahr=9647|vailee=0|yahr=1|gahrtahvo=0|tahvo=0|gorahn=0|prorahn=0|format=ymd}}</nowiki><br>''
''<nowiki>{{Test/Vee/dni2surface|hahr=9647|vailee=0|yahr=1|gahrtahvo=0|tahvo=0|gorahn=0|prorahn=0|format=[[yyyy XX mmm ddd dd]]}}</nowiki><br>''
'''{{Test/Vee/dni2surface|hahr=9647|vailee=0|yahr=1|gahrtahvo=0|tahvo=0|gorahn=0|prorahn=0|format=ymd}}'''
'''{{Test/Vee/dni2surface|hahr=9647|vailee=0|yahr=1|gahrtahvo=0|tahvo=0|gorahn=0|prorahn=0|format=[[yyyy XX mmm ddd dd]]}}'''


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 13: Line 13:
'''{{Test/Vee/surface2dni|year=1991|month=4|day=21|hour=16|minute=54|second=00|format=[[HHHH XX]] drr RR rr}}'''
'''{{Test/Vee/surface2dni|year=1991|month=4|day=21|hour=16|minute=54|second=00|format=[[HHHH XX]] drr RR rr}}'''


Surface to D'ni, given full surface datetime string (datetime strings accepted are the same as #time). Default output format
Surface to D'ni, given full surface datetime string. Default output format
''<nowiki>{{Test/Vee/surface2dni|datetime=1991-04-21 16:54:00}}</nowiki><br>''
''<nowiki>{{Test/Vee/surface2dni|datetime=1991-04-21 16:54:00}}</nowiki><br>''
'''{{Test/Vee/surface2dni|datetime=1991-04-21 16:54:00}}'''
'''{{Test/Vee/surface2dni|datetime=1991-04-21 16:54:00}}'''
Line 27: Line 27:


Surface to D'ni, provide Surface Time as individual parameters. Format uses variable that indicates it outputs in Dnifont<br>
Surface to D'ni, provide Surface Time as individual parameters. Format uses variable that indicates it outputs in Dnifont<br>
''<nowiki>{{Test/Vee/surface2dni|year=1991|month=2|day=21|hour=16|minute=54|second=00|format=dhhhh}}</nowiki><br>''
''<nowiki>{{Test/Vee/surface2dni|year=1991|month=2|day=21|hour=16|minute=54|second=00|format=dhhhh dVVV dYY dgg dtt drr dpp}}</nowiki><br>''
'''{{Test/Vee/surface2dni|year=1991|month=2|day=21|hour=16|minute=54|second=00|format=dhhhh}}'''
'''{{Test/Vee/surface2dni|year=1991|month=2|day=21|hour=16|minute=54|second=00|format=dhhhh dVVV dYY dgg dtt drr dpp}}'''<br>
''<nowiki><dni>{{Test/Vee/surface2dni|year=1991|month=2|day=21|hour=16|minute=54|second=00|format=dhhhh dVVV dYY dgg dtt drr dpp}}</dni></nowiki>''<br>
<dni>{{Test/Vee/surface2dni|year=1991|month=2|day=21|hour=16|minute=54|second=00|format=dhhhh dVVVV dYY dgg dtt drr dpp}}</dni>
 


----
----

Latest revision as of 04:08, 18 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
{{Test/Vee/dni2surface|hahr=9647|vailee=0|yahr=1|gahrtahvo=0|tahvo=0|gorahn=0|prorahn=0|format=[[yyyy XX mmm ddd dd]]}}
1991 AD Apr Sun 21

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. 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 dVVV dYY dgg dtt drr dpp}}
%)] dVVV 0@ 0 ( 7 )
<dni>{{Test/Vee/surface2dni|year=1991|month=2|day=21|hour=16|minute=54|second=00|format=dhhhh dVVV dYY dgg dtt drr dpp}}</dni>
%)] lEvotar 0@ 0 ( 7 )



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