require datetime array