home *** CD-ROM | disk | FTP | other *** search
/ The Best of Windows 95.com 1997 April / Win95_04974.iso / docs / 00016 / 01649.exe / data.2 / program / Templates / Inline / CompilerFormatDate.tpl < prev    next >
Encoding:
Text File  |  1996-12-27  |  2.3 KB  |  68 lines

  1. <$$FILE
  2.    TYPE=HTML
  3.    DESC="Function FormatDate"
  4. >
  5. <$$PARAMS
  6.    DATE=STRING DATE_M="<#FILEDATE>" DATE_D="Date To Use" 
  7.    
  8.    E=EMPTY
  9.    N=NOTICE N_D="Please select a date format:"
  10.    F0=RADIO F0_D="DDMMYYYY"
  11.    F1=RADIO F1_D="MM/DD/YY"
  12.    F2=RADIO F2_D="MM/DD/YYYY"
  13.    F3=RADIO F3_D="DD/MM/YY"
  14.    F4=RADIO F4_D="DD/MM/YYYY"
  15.    F5=RADIO F5_D="Jan 1, 1996 *"
  16.    F6=RADIO F6_D="January 1, 1996 *"
  17.    F7=RADIO F7_D="1 Jan, 1996 *"
  18.    F8=RADIO F8_D="1 January, 1996 *"
  19.    F9=RADIO F9_D="YYYYMMDD"
  20.  
  21.    N1=NOTICE N1_D="* Indicates that these are changed by the USENAMES parameter (see next page)"   
  22.    
  23.    P=PAGE
  24.    
  25.    USENAMES=CHECK USENAMES_M=OFF USENAMES_D="Use your own names?"
  26.    N2=NOTICE N2_D="If you are using your own names for the months you must enter those here:"
  27.  
  28.    E2=EMPTY   
  29.    M1=STRING M1_D="Name of Month 1"
  30.    M2=STRING M2_D="Name of Month 2"
  31.    M3=STRING M3_D="Name of Month 3"
  32.    M4=STRING M4_D="Name of Month 4"
  33.    M5=STRING M5_D="Name of Month 5"
  34.    M6=STRING M6_D="Name of Month 6"
  35.    M7=STRING M7_D="Name of Month 7"
  36.    M8=STRING M8_D="Name of Month 8"
  37.    M9=STRING M9_D="Name of Month 9"
  38.    M10=STRING M10_D="Name of Month 10"
  39.    M11=STRING M11_D="Name of Month 11"
  40.    M12=STRING M12_D="Name of Month 12"
  41. ><$$NO>
  42. <$$INSERT PARAM='<$call function="FormatDate" precompile Format='><$$NO>
  43. <$$NO><$$IF s="F0=ON">0<$$ELSE><$$ENDIF>
  44. <$$NO><$$IF s="F1=ON">1<$$ELSE><$$ENDIF>
  45. <$$NO><$$IF s="F2=ON">2<$$ELSE><$$ENDIF>
  46. <$$NO><$$IF s="F3=ON">3<$$ELSE><$$ENDIF>
  47. <$$NO><$$IF s="F4=ON">4<$$ELSE><$$ENDIF>
  48. <$$NO><$$IF s="F5=ON">5<$$ELSE><$$ENDIF>
  49. <$$NO><$$IF s="F6=ON">6<$$ELSE><$$ENDIF>
  50. <$$NO><$$IF s="F7=ON">7<$$ELSE><$$ENDIF>
  51. <$$NO><$$IF s="F8=ON">8<$$ELSE><$$ENDIF>
  52. <$$NO><$$IF s="F9=ON">9<$$ELSE><$$ENDIF>
  53. <$$NO><$$IF s="USENAMES=ON"> USENAMES<$$NO>
  54. <$$NO> M1="<$$INSERT PARAM="~M1">"
  55. <$$NO> M2="<$$INSERT PARAM="~M2">"
  56. <$$NO> M3="<$$INSERT PARAM="~M3">"
  57. <$$NO> M4="<$$INSERT PARAM="~M4">"
  58. <$$NO> M5="<$$INSERT PARAM="~M5">"
  59. <$$NO> M6="<$$INSERT PARAM="~M6">"
  60. <$$NO> M7="<$$INSERT PARAM="~M7">"
  61. <$$NO> M8="<$$INSERT PARAM="~M8">"
  62. <$$NO> M9="<$$INSERT PARAM="~M9">"
  63. <$$NO> M10="<$$INSERT PARAM="~M10">"
  64. <$$NO> M11="<$$INSERT PARAM="~M11">"
  65. <$$NO> M12="<$$INSERT PARAM="~M12">"
  66. <$$ELSE><$$ENDIF><$$NO>
  67. <$$INSERT PARAM='>'><$$INSERT PARAM="~DATE"><$/call><$$NO>
  68.