WUIDonDate.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
  4. <sect1 id="WUIDonDate">
  5. <title>WUIDonDate</title>
  6. <para><emphasis role="bold">STD.System.Workunit.WUIDonDate <indexterm>
  7. <primary>STD.System.Workunit.WUIDonDate</primary>
  8. </indexterm> <indexterm>
  9. <primary>System.Workunit.WUIDonDate</primary>
  10. </indexterm> <indexterm>
  11. <primary>Workunit.WUIDonDate</primary>
  12. </indexterm> <indexterm>
  13. <primary>WUIDonDate</primary>
  14. </indexterm> (</emphasis> <emphasis> year, month, day, hour, minute
  15. </emphasis> <emphasis role="bold"> )</emphasis></para>
  16. <informaltable colsep="1" frame="all" rowsep="1">
  17. <tgroup cols="2">
  18. <colspec colwidth="80.50pt" />
  19. <colspec />
  20. <tbody>
  21. <row>
  22. <entry><emphasis>year</emphasis></entry>
  23. <entry>An unsigned integer containing the year value.</entry>
  24. </row>
  25. <row>
  26. <entry><emphasis>month</emphasis></entry>
  27. <entry>An unsigned integer containing the month value.</entry>
  28. </row>
  29. <row>
  30. <entry><emphasis>day</emphasis></entry>
  31. <entry>An unsigned integer containing the day value.</entry>
  32. </row>
  33. <row>
  34. <entry><emphasis>hour</emphasis></entry>
  35. <entry>An unsigned integer containing the hour value.</entry>
  36. </row>
  37. <row>
  38. <entry><emphasis>minute</emphasis></entry>
  39. <entry>An unsigned integer containing the minute value.</entry>
  40. </row>
  41. <row>
  42. <entry>Return:<emphasis> </emphasis></entry>
  43. <entry>WUIDonDate returns a VARSTRING value.</entry>
  44. </row>
  45. </tbody>
  46. </tgroup>
  47. </informaltable>
  48. <para>The <emphasis role="bold">WUIDonDate </emphasis>function returns a
  49. valid WorkUnit IDentifier for a workunit that meets the passed
  50. parameters.</para>
  51. <para>Example:</para>
  52. <programlisting format="linespecific">lowwuid := STD.System.Workunit.WUIDonDate(2008,02,13,13,00);
  53. highwuid := STD.System.Workunit.WUIDonDate(2008,02,13,14,00);
  54. OUTPUT(STD.System.Workunit.WorkunitList(lowwuid,highwuid));
  55. //returns a list of workunits between 1 &amp; 2 PM on 2/13/08</programlisting>
  56. </sect1>