date formatting problems. trying to resolve.