current period in layouts