Dear statalists,

I imported the SPSS data file into STATA by using "usespss" command.
But the date variable did not as expected.

For example,
Date from SPSS Date from STATA
14-Jun-2554 30662841600
23-Jan-2557 30745267200
19-Jun-2555 30694809600

#1 question:
Because of Buddhist Era (B.E.), How to change B.E. into A.D.?
I try to subtract 543 years for correction in A.D., but it is not correct because the unit of date variable in STATA is not year.

#2 question:
If I changed BE into AD completely, How to change the format of date in STATA as same as SPSS.

Thank you in advance.

Best,
Tanarat