Fixed date to buffer conversion