COMPUTE a date

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

COMPUTE a date

Raffe, Sydelle, SSA
I'd like to compute a constant date field as 12/31/2006. I can do it clumsily but would like a more efficient way. Thanks.

Sydelle Raffe, Alameda County Social Services Agency
Information Services Division
e:mail:  [hidden email]
phone: 510-271-9174     fax: 510-271-9107
If you have a request for information, please submit an ODM request form at:  https://alamedasocialservices.org/staff/support_services/statistics_and_reports/odm/index.cfm
Reply | Threaded
Open this post in threaded view
|

Re: COMPUTE a date

Melissa Ives
Compute constdt=date.mdy(12,31,2006).

Melissa

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
Raffe, Sydelle, SSA
Sent: Monday, January 08, 2007 11:46 AM
To: [hidden email]
Subject: [SPSSX-L] COMPUTE a date

I'd like to compute a constant date field as 12/31/2006. I can do it
clumsily but would like a more efficient way. Thanks.

Sydelle Raffe, Alameda County Social Services Agency Information
Services Division
e:mail:  [hidden email]
phone: 510-271-9174     fax: 510-271-9107
If you have a request for information, please submit an ODM request form
at:
https://alamedasocialservices.org/staff/support_services/statistics_and_
reports/odm/index.cfm



PRIVILEGED AND CONFIDENTIAL INFORMATION
This transmittal and any attachments may contain PRIVILEGED AND
CONFIDENTIAL information and is intended only for the use of the
addressee. If you are not the designated recipient, or an employee
or agent authorized to deliver such transmittals to the designated
recipient, you are hereby notified that any dissemination,
copying or publication of this transmittal is strictly prohibited. If
you have received this transmittal in error, please notify us
immediately by replying to the sender and delete this copy from your
system. You may also call us at (309) 827-6026 for assistance.
Reply | Threaded
Open this post in threaded view
|

Re: COMPUTE a date

John Norton
In reply to this post by Raffe, Sydelle, SSA
Try:
 
COMPUTE constant_date = DATE.MDY(12,31,2006).
 
HTH,
 
 
 
John Norton
Biostatistician
Oncology Institute
Loyola University Medical Center
 
(708) 327-3095
[hidden email]
 
"Absence of evidence
      is not evidence of absence"


>>> "Raffe, Sydelle, SSA" <[hidden email]> 1/8/2007 11:46:02 AM >>>

I'd like to compute a constant date field as 12/31/2006. I can do it clumsily but would like a more efficient way. Thanks.

Sydelle Raffe, Alameda County Social Services Agency
Information Services Division
e:mail:  [hidden email]
phone: 510-271-9174     fax: 510-271-9107
If you have a request for information, please submit an ODM request form at:  https://alamedasocialservices.org/staff/support_services/statistics_and_reports/odm/index.cfm