Ellucian's Colleague tips and tricks

My Ellucian's Colleague playground with all tips and tricks I learned as a programmer.

Thursday, July 31, 2014

Check to see if a date is already converted to internal format

IF NOT(NUM(A.DATE)) THEN
      * date is not in internal format, needs converting
      A.DATE = ICONV(A.DATE,X.SN.DATE2)

END

Useful for input validation of dates on things like subroutines and ELF

* from Trevyn Bowden.
Posted by Duong Pham at 7:17 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Colleague, Colleague Studio, convert, datatel, date, date format, ellucian, envision, subroutine, unidata

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Duong Pham
View my complete profile

Blog Archive

  • ►  2018 (2)
    • ►  July (1)
    • ►  January (1)
  • ►  2017 (2)
    • ►  September (1)
    • ►  July (1)
  • ►  2016 (8)
    • ►  August (1)
    • ►  June (1)
    • ►  May (2)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2015 (10)
    • ►  November (1)
    • ►  August (1)
    • ►  July (3)
    • ►  June (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (2)
  • ▼  2014 (11)
    • ►  December (1)
    • ►  November (1)
    • ►  October (2)
    • ►  September (2)
    • ▼  July (2)
      • Mistakes to watch out for with NULL in lists
      • Check to see if a date is already converted to int...
    • ►  April (1)
    • ►  March (1)
    • ►  January (1)
  • ►  2013 (12)
    • ►  October (2)
    • ►  September (1)
    • ►  May (9)
Watermark theme. Powered by Blogger.