The position of time.
time
double mapDate(DateTime time) => map(time.millisecondsSinceEpoch.toDouble());