Format of time
Posted: October 22nd, 2023, 4:11 pm
Hi
I am capturing the survey start time (ST) and end time using the following logic.
PROC ST
preproc
// Prefill field start time with current time.
if visualvalue($) = notappl then
$ = systime("HHMM");
endif
If survey starts at 8am, it provides time data as 800 when i export data in SPSS. I want to get data in time format like 08:00 (rather 800) so later on i may calculate time difference using "Date and Time Wizard" fucntion of SPSS as shown in a vidoe available at following link.
https://www.youtube.com/watch?v=NRL34hpK6-A
Any solution please.
I am capturing the survey start time (ST) and end time using the following logic.
PROC ST
preproc
// Prefill field start time with current time.
if visualvalue($) = notappl then
$ = systime("HHMM");
endif
If survey starts at 8am, it provides time data as 800 when i export data in SPSS. I want to get data in time format like 08:00 (rather 800) so later on i may calculate time difference using "Date and Time Wizard" fucntion of SPSS as shown in a vidoe available at following link.
https://www.youtube.com/watch?v=NRL34hpK6-A
Any solution please.