Problems translating dates into csv

Moderators: statman, Analyst Techy, andris, Fierce, GerineL, Smash

Posts: 1
Joined: Wed Apr 22, 2015 10:48 am

Problems translating dates into csv

Postby dianaalexams » Wed Apr 22, 2015 11:17 am

I am using spss 22.
I have to translate a SPSS file into a .csv file. The file has a date/time variable that looks like this : "day-month-year hh:mm:ss".
When I translate it into a CSV file, the variable will show only the date part "day/month/year".
My code is:
SAVE TRANSLATE OUTFILE='C:\mypath\myfile.csv'

Is there any way I could get the complete date&time variable? Should I use a different enconding?


Who is online

Users browsing this forum: No registered users and 1 guest