Exploring Loss Functions for Time-based Training Strategy in Spiking Neural Networks