Dates

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Post Reply
daigw
Posts: 3
Joined: Thu May 23, 2019 4:49 pm

Dates

Post 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
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Dates

Post 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
daigw
Posts: 3
Joined: Thu May 23, 2019 4:49 pm

Re: Dates

Post 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
Attachments
sheep_weights.csv
(15.33 KiB) Downloaded 611 times
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Dates

Post by jonathon »

could you attach the .dta file?

with thanks
daigw
Posts: 3
Joined: Thu May 23, 2019 4:49 pm

Re: Dates

Post 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
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: Dates

Post by jonathon »

oh yup, send it through to contact <at> jamovi.org

with thanks
jalouidor
Posts: 1
Joined: Wed Jun 23, 2021 6:08 pm

Re: Dates

Post by jalouidor »

How can i compute 2 dates into Jamovi (date differnce)
THANKS
sbalci
Posts: 124
Joined: Sat Jan 06, 2018 10:25 pm
Contact:

Re: Dates

Post by sbalci »

Date difference calculation is possible in jsurvival module for survival analysis
Post Reply