error subtracting dates

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

error subtracting dates

snydly
I am having a problem in calculating time between two dates.  I have 50 cases and all of the cases work except 5 that are 1942, 1940 and 1930.  Anybody have any ideas.
Reply | Threaded
Open this post in threaded view
|

Re: error subtracting dates

David Marso
Administrator
Maybe post your syntax , the problematic dates and the result.
I don't do ESPss on Fridays!
I helps to be specific if you expect anybody to answer your question!!!
--
snydly wrote
I am having a problem in calculating time between two dates.  I have 50 cases and all of the cases work except 5 that are 1942, 1940 and 1930.  Anybody have any ideas.
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
Reply | Threaded
Open this post in threaded view
|

Re: error subtracting dates

MLIves
Are they 2 digit years?
Check your settings under Edit-->Options-->Data (tab)-->Set Century Range for 2-digit years (top right)
The default is 1945 so year values of 30,40 and 42 would be interpreted as 2030, 2040 and 2042.

Melissa

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of David Marso
Sent: Friday, January 17, 2014 1:40 PM
To: [hidden email]
Subject: Re: [SPSSX-L] error subtracting dates

Maybe post your syntax , the problematic dates and the result.
I don't do ESPss on Fridays!
I helps to be specific if you expect anybody to answer your question!!!
--

snydly wrote
> I am having a problem in calculating time between two dates.  I have
> 50 cases and all of the cases work except 5 that are 1942, 1940 and 1930.
> Anybody have any ideas.





-----
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/error-subtracting-dates-tp5723967p5723969.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD

This correspondence contains proprietary information some or all of which may be legally privileged; it is for the intended recipient only. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this correspondence and completely dispose of the correspondence immediately.  Please notify the sender if you have received this email in error.  NOTE: Messages to or from the State of Connecticut domain may be subject to the Freedom of Information statutes and regulations.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: error subtracting dates

snydly
Yes they are two digit years.  I tried that first.   I chose Custom and changed it to 1920 to 2019, saved the file, reopened it and I get the same results.  I am stumped.  I used the pulldown menu and wrote syntax...with the same result.
Reply | Threaded
Open this post in threaded view
|

Re: error subtracting dates

MLIves
Now you need to say more about your syntax and what exactly is happening before anyone can help.

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of snydly
Sent: Friday, January 17, 2014 3:07 PM
To: [hidden email]
Subject: Re: [SPSSX-L] error subtracting dates

Yes they are two digit years.  I tried that first.   I chose Custom and
changed it to 1920 to 2019, saved the file, reopened it and I get the same results.  I am stumped.  I used the pulldown menu and wrote syntax...with the same result.



--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/error-subtracting-dates-tp5723967p5723980.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD

This correspondence contains proprietary information some or all of which may be legally privileged; it is for the intended recipient only. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this correspondence and completely dispose of the correspondence immediately.  Please notify the sender if you have received this email in error.  NOTE: Messages to or from the State of Connecticut domain may be subject to the Freedom of Information statutes and regulations.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD