<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Date Time activities on Virtosoftware Guides &amp; Docs</title><link>https://docs-hugo-4dl.pages.dev/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/date-time-activities/</link><description>Recent content in Date Time activities on Virtosoftware Guides &amp; Docs</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 24 Oct 2024 18:34:50 +0000</lastBuildDate><atom:link href="https://docs-hugo-4dl.pages.dev/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/date-time-activities/index.xml" rel="self" type="application/rss+xml"/><item><title>Calculate due date</title><link>https://docs-hugo-4dl.pages.dev/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/date-time-activities/calculate-due-date/</link><pubDate>Thu, 24 Oct 2024 18:34:50 +0000</pubDate><guid>https://docs-hugo-4dl.pages.dev/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/date-time-activities/calculate-due-date/</guid><description>&lt;p&gt;This activity calculates a due date from a specified time.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://pub-a28a5107f8a14f3d8a0272bc4e8c6b62.r2.dev/wp-content/uploads/2024/10/calculate_due_date_1.png" alt="calculate_due_date_1" /&gt;&lt;/p&gt;
&lt;p&gt;This method does not change the original date value. Instead, it returns a new date whose value is the result of the calculation.&lt;/p&gt;
&lt;h6 id="sharepoint-workflow-designer-phrase"&gt;&lt;strong&gt;SharePoint Workflow Designer Phrase&lt;/strong&gt;&lt;a class="anchor" href="#sharepoint-workflow-designer-phrase"&gt;#&lt;/a&gt;&lt;/h6&gt;
&lt;p&gt;Calculate due date from &lt;strong&gt;this time&lt;/strong&gt; for &lt;strong&gt;0 days, 0 hours, 10 minutes&lt;/strong&gt; and store the result in &lt;strong&gt;due date time&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters&lt;/strong&gt;&lt;/p&gt;
&lt;figure class="wp-block-table"&gt;&lt;table class="has-fixed-layout"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Parameter&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;this_time&lt;/td&gt;&lt;td&gt;DateTime variable&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;0 days, 0 hours, 10 minutes&lt;/td&gt;&lt;td&gt;The number of whole days, hours, and minutes to add for the due date calculation.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;</description></item><item><title>Get Date property</title><link>https://docs-hugo-4dl.pages.dev/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/date-time-activities/get-date-property/</link><pubDate>Thu, 24 Oct 2024 18:34:43 +0000</pubDate><guid>https://docs-hugo-4dl.pages.dev/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/date-time-activities/get-date-property/</guid><description>&lt;p&gt;This activity retrieves various components from a date, including Year, Month, Day, Hour, Minute, Second, Ticks, Day of Week, Day of Year, and Week of Year, and stores them as numbers.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://pub-a28a5107f8a14f3d8a0272bc4e8c6b62.r2.dev/wp-content/uploads/2024/10/get_date_property_1.png" alt="get_date_property_1" /&gt;&lt;/p&gt;
&lt;h6 id="sharepoint-workflow-designer-phrase"&gt;&lt;strong&gt;SharePoint Workflow Designer Phrase&lt;/strong&gt;&lt;a class="anchor" href="#sharepoint-workflow-designer-phrase"&gt;#&lt;/a&gt;&lt;/h6&gt;
&lt;p&gt;Get &lt;strong&gt;Year&lt;/strong&gt; component from &lt;strong&gt;this time&lt;/strong&gt; and store in &lt;strong&gt;variable&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters&lt;/strong&gt;&lt;/p&gt;
&lt;figure class="wp-block-table"&gt;&lt;table class="has-fixed-layout"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Parameter&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Year&lt;/td&gt;&lt;td&gt;&lt;strong&gt;Year&lt;/strong&gt;: Gets the year component of the date represented by this instance.&lt;br/&gt;&lt;strong&gt;Month&lt;/strong&gt;: Gets the month component of the date represented by this instance.&lt;br/&gt;&lt;strong&gt;Day&lt;/strong&gt;: Gets the day of the month represented by this instance.&lt;br/&gt;&lt;strong&gt;Hour&lt;/strong&gt;: Gets the hour component of the date represented by this instance.&lt;br/&gt;&lt;strong&gt;Minute&lt;/strong&gt;: Gets the minute component of the date represented by this instance.&lt;br/&gt;&lt;strong&gt;Second&lt;/strong&gt;: Gets the second component of the date represented by this instance.&lt;br/&gt;&lt;strong&gt;Ticks&lt;/strong&gt;: Gets the number of ticks that represent the date and time of this instance.&lt;br/&gt;&lt;strong&gt;Day of Week&lt;/strong&gt;: Gets the day of the week represented by this instance (Sunday = 0 … Saturday = 6).&lt;br/&gt;&lt;strong&gt;Day of Year&lt;/strong&gt;: Gets the day of the year represented by this instance (value between 1 and 366).&lt;br/&gt;&lt;strong&gt;Week of Year&lt;/strong&gt;: Gets the week of the year represented by this instance (value between 1 and 52).&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;this time&lt;/td&gt;&lt;td&gt;DateTime variable&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;</description></item><item><title>Converts Date to Text</title><link>https://docs-hugo-4dl.pages.dev/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/date-time-activities/converts-date-to-text/</link><pubDate>Thu, 24 Oct 2024 18:34:34 +0000</pubDate><guid>https://docs-hugo-4dl.pages.dev/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/date-time-activities/converts-date-to-text/</guid><description>&lt;p&gt;This activity converts the value of the current DateTime object to its equivalent string representation using the specified format.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://pub-a28a5107f8a14f3d8a0272bc4e8c6b62.r2.dev/wp-content/uploads/2024/10/converts_date_to_text_1.png" alt="converts_date_to_text_1" /&gt;&lt;/p&gt;
&lt;h6 id="sharepoint-workflow-designer-phrase"&gt;&lt;strong&gt;SharePoint Workflow Designer Phrase&lt;/strong&gt;&lt;a class="anchor" href="#sharepoint-workflow-designer-phrase"&gt;#&lt;/a&gt;&lt;/h6&gt;
&lt;p&gt;Convert &lt;strong&gt;this time&lt;/strong&gt; to text with &lt;strong&gt;this format&lt;/strong&gt; and store the result in &lt;strong&gt;variable&lt;/strong&gt;.&lt;/p&gt;
&lt;h6 id="parameters"&gt;&lt;strong&gt;Parameters&lt;/strong&gt;&lt;a class="anchor" href="#parameters"&gt;#&lt;/a&gt;&lt;/h6&gt;
&lt;figure class="wp-block-table"&gt;&lt;table class="has-fixed-layout"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Parameter&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;this_time&lt;/td&gt;&lt;td&gt;DateTime variable&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;this format&lt;/td&gt;&lt;td&gt;A DateTime format string.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;
&lt;p&gt;The following links describe the time format strings:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.google.com/url?q=http://msdn.microsoft.com/en-us/library/az4se3k1.aspx&amp;amp;sa=D&amp;amp;source=editors&amp;amp;ust=1729508078941602&amp;amp;usg=AOvVaw0W80ELFnGu6Oij8lnpeauU"&gt;Standard Date and Time Format Strings&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.google.com/url?q=http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx&amp;amp;sa=D&amp;amp;source=editors&amp;amp;ust=1729508078941957&amp;amp;usg=AOvVaw2ZajITt75kWM4oktSYtxJN"&gt;Custom Date and Time Format Strings&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Converts Date from UTC to Local Time</title><link>https://docs-hugo-4dl.pages.dev/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/date-time-activities/date-utc-to-local/</link><pubDate>Thu, 24 Oct 2024 18:34:25 +0000</pubDate><guid>https://docs-hugo-4dl.pages.dev/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/date-time-activities/date-utc-to-local/</guid><description>&lt;p&gt;This activity converts the value of the current DateTime variable from Coordinated Universal Time (UTC) to local time in a specified time zone.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://pub-a28a5107f8a14f3d8a0272bc4e8c6b62.r2.dev/wp-content/uploads/2024/10/converts_date_from_utc_to_local_time_1.png" alt="converts_date_from_utc_to_local_time_1" /&gt;&lt;/p&gt;
&lt;p&gt;You can specify a custom time zone to improve accuracy in the time conversion.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://pub-a28a5107f8a14f3d8a0272bc4e8c6b62.r2.dev/wp-content/uploads/2024/10/converts_date_from_utc_to_local_time_2.jpg" alt="converts_date_from_utc_to_local_time_2" /&gt;&lt;/p&gt;
&lt;p&gt;This method does not change the original date value. Instead, it returns a new date whose value is the result of the conversion.&lt;/p&gt;
&lt;h6 id="sharepoint-workflow-designer-phrase"&gt;&lt;strong&gt;SharePoint Workflow Designer Phrase&lt;/strong&gt;&lt;a class="anchor" href="#sharepoint-workflow-designer-phrase"&gt;#&lt;/a&gt;&lt;/h6&gt;
&lt;p&gt;Convert &lt;strong&gt;utc time&lt;/strong&gt; from UTC to the time zone in &lt;strong&gt;[Current Site]&lt;/strong&gt; and store the result in &lt;strong&gt;utc_time&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Converts Date from Local Time to UTC</title><link>https://docs-hugo-4dl.pages.dev/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/date-time-activities/convert-from-local-to-utc/</link><pubDate>Thu, 24 Oct 2024 18:34:16 +0000</pubDate><guid>https://docs-hugo-4dl.pages.dev/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/date-time-activities/convert-from-local-to-utc/</guid><description>&lt;p&gt;This activity converts the value of the current DateTime variable from local time in the specified time zone to Coordinated Universal Time (UTC).&lt;/p&gt;
&lt;p&gt;&lt;img src="https://pub-a28a5107f8a14f3d8a0272bc4e8c6b62.r2.dev/wp-content/uploads/2024/10/converts_date_from_local_time_to_utc_1.png" alt="converts_date_from_local_time_to_utc_1" /&gt;&lt;/p&gt;
&lt;p&gt;You can specify a custom time zone to improve accuracy in the time conversion.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://pub-a28a5107f8a14f3d8a0272bc4e8c6b62.r2.dev/wp-content/uploads/2024/10/converts_date_from_local_time_to_utc_2.jpg" alt="converts_date_from_local_time_to_utc_2" /&gt;&lt;/p&gt;
&lt;p&gt;This method does not change the original date value. Instead, it returns a new date whose value is the result of the conversion.&lt;/p&gt;
&lt;h6 id="sharepoint-workflow-designer-phrase"&gt;&lt;strong&gt;SharePoint Workflow Designer Phrase&lt;/strong&gt;&lt;a class="anchor" href="#sharepoint-workflow-designer-phrase"&gt;#&lt;/a&gt;&lt;/h6&gt;
&lt;p&gt;Convert &lt;strong&gt;local time&lt;/strong&gt; from Local Time in &lt;strong&gt;[Current Site]&lt;/strong&gt; time zone to UTC and store the result in &lt;strong&gt;utc_time&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Set Date constant</title><link>https://docs-hugo-4dl.pages.dev/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/date-time-activities/set-date-constant/</link><pubDate>Thu, 24 Oct 2024 18:34:07 +0000</pubDate><guid>https://docs-hugo-4dl.pages.dev/docs/virto-workflow-automation-web-part/virto-sharepoint-workflow-activities-kit-sharepoint-2010-workflow-platform/date-time-activities/set-date-constant/</guid><description>&lt;p&gt;This activity sets a DateTime constant, such as &lt;strong&gt;Now&lt;/strong&gt;, &lt;strong&gt;UTC Now&lt;/strong&gt;, &lt;strong&gt;Today&lt;/strong&gt;, &lt;strong&gt;Yesterday&lt;/strong&gt;, &lt;strong&gt;Tomorrow&lt;/strong&gt;, &lt;strong&gt;Beginning of this Week&lt;/strong&gt;, &lt;strong&gt;End of this Week&lt;/strong&gt;, etc., to a variable.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://pub-a28a5107f8a14f3d8a0272bc4e8c6b62.r2.dev/wp-content/uploads/2024/10/set_date_constant_1.png" alt="set_date_constant_1" /&gt;&lt;/p&gt;
&lt;p&gt;The activity stores the time constant in a variable, allowing you to use the correct time in other workflow actions. The table below shows all constants, descriptions, and sample results, assuming the current time is February 12, 2010, 16:20 (UTC+2:00).&lt;/p&gt;
&lt;figure class="wp-block-table"&gt;&lt;table class="has-fixed-layout"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Name&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Now&lt;/td&gt;&lt;td&gt;The current date and time on this computer, expressed as local time.&lt;/td&gt;&lt;td&gt;12 February 2010 16:20&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;UtcNow&lt;/td&gt;&lt;td&gt;The current date and time on this computer, expressed as Coordinated Universal Time (UTC).&lt;/td&gt;&lt;td&gt;12 February 2010 14:20&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Today&lt;/td&gt;&lt;td&gt;The current date.&lt;/td&gt;&lt;td&gt;12 February 2010 00:00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Yesterday&lt;/td&gt;&lt;td&gt;The previous day’s date.&lt;/td&gt;&lt;td&gt;13 February 2010 00:00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Tomorrow&lt;/td&gt;&lt;td&gt;The next day’s date.&lt;/td&gt;&lt;td&gt;14 February 2010 00:00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Begin of this Week&lt;/td&gt;&lt;td&gt;The beginning of the current week. &lt;br/&gt;&lt;em&gt;&lt;strong&gt;Note:&lt;/strong&gt; Sunday is the first day of the week.&lt;/em&gt;&lt;/td&gt;&lt;td&gt;7 February 2010 23:59&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;End of this Week&lt;/td&gt;&lt;td&gt;The end of the current week. &lt;br/&gt;&lt;em&gt;&lt;strong&gt;Note:&lt;/strong&gt; Saturday is the last day of the week.&lt;/em&gt;&lt;/td&gt;&lt;td&gt;13 February 2010 00:00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Begin of this Month&lt;/td&gt;&lt;td&gt;The beginning of the current month.&lt;/td&gt;&lt;td&gt;1 February 2010 00:00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;End of this Month&lt;/td&gt;&lt;td&gt;The end of the current month.&lt;/td&gt;&lt;td&gt;28 February 2010 23:59&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Begin of this Year&lt;/td&gt;&lt;td&gt;The beginning of the current year.&lt;/td&gt;&lt;td&gt;1 January 2010 00:00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;End of this Year&lt;/td&gt;&lt;td&gt;The end of the current year.&lt;/td&gt;&lt;td&gt;31 December 2010 23:59&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/figure&gt;
&lt;h6 id="sharepoint-workflow-designer-phrase"&gt;&lt;strong&gt;SharePoint Workflow Designer Phrase&lt;/strong&gt;&lt;a class="anchor" href="#sharepoint-workflow-designer-phrase"&gt;#&lt;/a&gt;&lt;/h6&gt;
&lt;p&gt;Set DateTime constant &lt;strong&gt;Now&lt;/strong&gt; to &lt;strong&gt;variable&lt;/strong&gt;.&lt;/p&gt;</description></item></channel></rss>