HP3000-L Archives

July 1996, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Thu, 25 Jul 1996 14:31:22 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
Don,
 
You asked:
 
>I have a number of dates (YYYYMMDDHHMM) in IMAGE X fields.  What
>translations do I need to go through to be able to use ethe QUIZ date
>functions on these fields?  I've tried using substrings.  Do I need to
>create separate items that are equated to the substrings I want to
>use?
>
<snip>
 
Try using the following:
 
DEFINE cdate DATE CENTURY INCLUDED PICTURE "^^^^^^^^" = NCONVERT(imagex[1:8])
 
Where 'cdate' is the field you wish to use with the date functions; and
where 'imagex' is the IMAGE field you currently have defined as YYYYMMDDHHMM.
 
This will strip off the HHMM and convert the remaining digits into a DATE type
field.
 
Regards,
Gordon
 
 
==========================HP3000=Channel=Partner===========================
G.R. Helm, Inc.                                   Voice: 916.933.9669
4993 Golden Foothill Parkway                        Fax: 916.933.9696
Suite 9                                           Email: [log in to unmask]
El Dorado Hills, CA  95762                         http://www.grhelm.com
 ==========================================================================

ATOM RSS1 RSS2