Sample Code for s simple core date project