Leevot 4, 9675 DE
This template will return the Cavernian (D'ni) date corresponding to the input AY, in the format '[vailee name] [yahr no.], [hahr no.] [hahr era]'. Defaults to the current AY if not specified (and hence the current date).
Templates used, either directly or indirectly: CAVERNIANDATE.AY/AY, CAVERNIANDATE.AY/A, CAVERNIANDATE.AY/C, CAVERNIANDATE.AY/VAILEE, CAVERNIANDATE/A, CAVERNIANDATE/C, VAILEECONVERT, VAILEE, YAHR, HAHRWITHERA, HAHR, ATRIANYAHR (if AY is not specified), JULIANDAY (if AY is not specified)
- The formulae for calculating the Cavernian date were adapted from formulae created by Brett Middleton (Middleton, Brett (October 26, 2004). "DATE CONVERSION TECHNIQUES FOR THE D’NI SCHOLAR". Retrieved September 19, 2017. © 2004 by Brett Middleton)
- Template:JULIANDAY was adapted from the JULIANDAY and CURRENTJULIANDAY templates on Wikipedia, where they are licensed under CC BY-SA 3.0.