One does not explicitly write to FRAM. You just change the value of what is stored in FRAM and it will survive a power cycle or reset. Did you run the Sketch and observe the values as I described? See the count++ and mydate +=2. This is equivalent to a FLASH write. Those incremental values will be there after a reset or reboot. Just run the Sketch and then reset power cycle the board and you will see the result in the Serial monitor.