Page 1 of 1

Dates

Posted: Thu May 23, 2019 4:55 pm
by daigw
How can dates be entered into Jamovi - if I export a Stata file with dates in there is no problem in that I get a column of numbers (so many days since day zero in Stata 1900 Jan 1st?) but is it possible to get dates into Jamovi displayed as eg 23/05/2019 but which can be used in calculations ie as an integer not text
Thanks
Dai

Re: Dates

Posted: Fri May 24, 2019 3:40 am
by jonathon
hi,

we don't (as yet) have a native date data type, but we can emulate it by having an integer data type (how many days since ...), and then add a label so that it displays as 23/05/2019 for example.

if you can send us a stata file with dates in it, i'll see about adding this.

with thanks

Re: Dates

Posted: Tue May 28, 2019 8:02 am
by daigw
Thanks Jonathon
I attach a datafile (stata .dta converted to csv - it would not accept a .dta file type) with 2 date variables (dob & date1)
Many thanks for this

Dai

Re: Dates

Posted: Tue May 28, 2019 8:04 am
by jonathon
could you attach the .dta file?

with thanks

Re: Dates

Posted: Tue May 28, 2019 11:02 am
by daigw
Hi Jonathon
The system will not allow me to attach a stata dta file but I could e mail it to you directly
thanks
Dai

Re: Dates

Posted: Tue May 28, 2019 10:33 pm
by jonathon
oh yup, send it through to contact <at> jamovi.org

with thanks

Re: Dates

Posted: Wed Jun 23, 2021 6:48 pm
by jalouidor
How can i compute 2 dates into Jamovi (date differnce)
THANKS

Re: Dates

Posted: Fri Jun 25, 2021 3:29 pm
by sbalci
Date difference calculation is possible in jsurvival module for survival analysis