Fixed the examples and made DateValue functional again