Implemented date->asstring support