DateTime.DateFormat = "ddMMyyyy"
DateTime.TimeFormat = "HHmm"
ImgFileName = "myfile_" & DateTime.Date(DateTime.Now) & DateTime.Time(DateTime.Now) & ".jpg" 'output: myfile_0405211032.jpg
'back to the original format used in my app
DateTime.DateFormat = "dd/MM/yyyy"
DateTime.TimeFormat = "HH:mm:ss"