learn date structure