stardate

Functions

pub fn to_stardate(year: Int, month: Int, day: Int) -> Float

Convert from common date to stardate

Examples

to_stardate(2017, 9, 24))
// --> -305189.04

to_stardate(1996, 2, 28))
// --> -326789.62
Search Document