Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points
Print Page as PDF
Routine: XMXUTIL1

Package: MailMan

Routine: XMXUTIL1


Information

XMXUTIL1 ;ISC-SF/GMB-Date & String Utilities ;04/17/2002 14:14

Source Information

Source file <XMXUTIL1.m>

Entry Points

Name Comments DBIA/ICR reference
ENCODEUP(XMSUBJ) ; Change ^ to ~U~
  • ICR #2735
    • Status: Active
    • Usage: Supported
    DECODEUP(XMSUBJ) ; Change ~U~ to ^
  • ICR #2735
    • Status: Active
    • Usage: Supported
    SCRUB(XMSTRING) ; Strip ctrl chars and leading/trailing blanks
  • ICR #2735
    • Status: Active
    • Usage: Supported
    STRIP(XMSTRING) ; Strip leading and trailing blanks from a string
  • ICR #2735
    • Status: Active
    • Usage: Supported
    MAXBLANK(XMSTRING) ; Reduce 3 or more consecutive blanks in a string to 2
  • ICR #2735
    • Status: Active
    • Usage: Supported
    CTRL(XMSTRING) ; Strip control characters from a string
  • ICR #2735
    • Status: Active
    • Usage: Supported
    MELD(XMSTRING,XMNUMBER,XMLEN) ; Function right-justifies a string and
    ; left-justifies a number in a combined string of a given length.
    ; The string will be truncated, if necessary.
    ; e.g. $$MELD("I just love Lotus, don't you?",123,22) returns:
    ; "I just love Lotus 123"
  • ICR #2735
    • Status: Active
    • Usage: Supported
    TSTAMP() ; Timestamp
  • ICR #2735
    • Status: Active
    • Usage: Supported
    MMDT(XMDT) ; (MailMan Date/Time) Given FM date/time, return external.
    ; time is optional
  • ICR #2735
    • Status: Active
    • Usage: Supported
    INDT(XMDT) ; (InterNet Date/Time) Given FM date/time, return dd mmm yyyy hh:mm:ss +-hhmm (zone)
  • ICR #2735
    • Status: Active
    • Usage: Supported
    CONVERT(X,XMTIME) ; Function to convert Internet dates to FM (returns -1 if error)
    ; X Internet date
    ; XMTIME =1 Convert time, too; =0 convert date only
    ; Formats: Tuesday, 28 June 1955 17:30:45 PDT
    ; Tue, 28 Jun 1955 17:30:45 PDT
    ; Tue 28 Jun 1955 17:30:45 PDT
    ; 28 Jun 1955 17:30:45 -0900 (PST) <== MailMan standard
    ; 28 Jun 55 17:30 PST <== Previous MailMan standard
    ; Tue Jun 28 17:30:45 PDT 1955
    ; 28-JUN-1955 17:30:45 -0400
    ; 6/28/55 17:30
    ; JUN 28 17:30 1955
  • ICR #2735
    • Status: Active
    • Usage: Supported
    TIMETOO(XMD,XMT) ; For internal MailMan use only. Combine date and time, adjusting for difference from GMT.
    ZONEDIFF(XMYT,XMHH,XMMM) ; Given a time zone or time difference from GMT,
    ; calculates the hours and minutes difference between that zone and ours
    ; XMYT IN: Your Time zone or Time difference from GMT
    ; XMHH OUT: The time difference between us in hours
    ; XMMM OUT: The time difference between us in minutes
    ; XMYTHH Your Time difference from GMT in hours
    ; XMYTMM Your Time difference from GMT in minutes
    ; XMMT My Time difference from GMT
    ; XMMTHH My Time difference from GMT in hours
    ; XMMTMM My Time difference from GMT in minutes
  • ICR #2735
    • Status: Active
    • Usage: Supported
    GMTDIFF(XMZONE) ; Given time zone, returns standard internet time difference from GMT
    ; XMZONE 3-char time zone name (PST, EDT, etc.)
    ; returns difference in hours and minutes (+-hhmm) from GMT
    ; e.g. -0230, +1600
    ; If time zone can't be found, returns null string
  • ICR #2735
    • Status: Active
    • Usage: Supported
    TIMEDIFF(XMDIFF) ; Given time difference, returns standard internet time difference.
    ; XMDIFF Difference (in hours) from GMT
    ; e.g. -2.5 => -0230
    ; 16 => +1600
  • ICR #2735
    • Status: Active
    • Usage: Supported
    CONFIRM(XMDUZ,XMZ,XMIM) ; For internal MailMan use only. Send confirmation message to sender.
    RCPTTO(XMZ) ; For internal MailMan use only. Return-receipt-to a remote address.
    Info |  Source |  Entry Points