Guidance
指路人
g.yi.org
Guidance Forums / Reginald Rexx / Matchname date format

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Matchname date format
#11511
Posted by: Michael S 2007-08-16 16:29:28
If I run the following

result = MATCHNAME(, 'MyVar', contents.i, 'NA' , 'ND')

I might get something like (as the date variable)
8 12 2007 22 24 48
I would like to change this to (say)
20070812 22 24 48
2 questions.

- is there any setting that affects the date format returned by matchname
- I thought I could call the date function to reformat it, but strangely (unless I've missed something) the output from matchname can't be used directly as input to date (there doesn't seem to be an option that accepts that date format) . Is that correct ?
Message2.
#11515
Posted by: Jeff Glatt 2007-08-16 17:29:27
There is no date formatting option on MATCHNAME. You do that yourself (which is easy to do in REXX given its plethora of string functions).
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Thu 2024-3-28  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0