How I get 100 hz frequency in arduino mega 2560

Update the date and time strings once, before taking 100 sample.
Write out everything immediately, don't build a string from 100 samples.