Porting further code for far future stardate conversion