for (time=0; time<NumTimes; time++) {
if (!write_tag(TAG_TIME, 8, newfile)) return false;
f.writeInt(time);
f.writeInt(TimeStamp[time]);
if (!write_tag(TAG_DATE, 8, newfile)) return false;
f.writeInt(time);
f.writeInt(DateStamp[time]);
}
// Number of rows
if (!write_tag(TAG_NR, 4, newfile)) return false;