× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I have this little note in my personal notes:

*  
* Calculate 14 days in the future, starting from the current date.    
*  
*  @SYFDATE1 = *ISO date field containing the date plus the additional 14 
days. 
*  @SYFDATE2 = 7/0 numeric field containing the date plus the additional 
14 days. 
*              This is the one to be used on the calculations.   
*  
*  Step #1: Identify the date in *CYMD format, using BIF %DATE.   
*  Step #2: Add 14 days to the date, using BIF %DAYS.  Save the result in 
an *ISO date field.
*  Step #3: Take resulting value and change the format to be *CHAR with    
 
*           *CYMD format, using BIF %CHAR.  
*  Step #4: Get the integer part of the value, using BIF %INT.   
*            Save the result.  
/Free  
     @SYFDATE1 = %date(#SYDAT:*cymd) + %days(14);  
     @SYFDATE2 = %int(%char(@SYFDATE1:*cymd0));  
/End-Free  
* 

PALL Corporation / Peter Vidal
SR Programmer Analyst / IT Development Group
10540 Ridge Rd., Ste 203, New Port Richey, FL 34654-5111
http://www.pall.com

"Watch your thoughts; they become words, then actions, then habits, then 
character, then your destiny."
-- Based on words from Frank Outlaw --

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.