{"id":11859,"date":"2017-10-12T07:48:48","date_gmt":"2017-10-11T23:48:48","guid":{"rendered":"http:\/\/www.vbtutor.net\/?page_id=11859"},"modified":"2018-06-24T16:51:42","modified_gmt":"2018-06-24T08:51:42","slug":"visual-basic-2013-lesson-19-formatting-functions","status":"publish","type":"page","link":"https:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-19-formatting-functions\/","title":{"rendered":"Visual Basic 2013 Lesson 19: The Format Function"},"content":{"rendered":"<h4 style=\"text-align: center;\"><a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-18-the-math-functions\/\">[Lesson 18]<\/a> &lt;&lt;<a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-tutorial\/\">[Contents]<\/a> &gt;&gt; <a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-20-using-check-box\/\">[Lesson 20]<\/a><\/h4>\n<p>The Format function is used to display numbers as well as date and time in various formats.<\/p>\n<h3>19.1 Format function for Numbers<\/h3>\n<p>There are two types of Format functions, the built-in format function, and the user-defined function.<\/p>\n<h4>19.1(a) Built-in Format function for Numbers<\/h4>\n<p>The syntax of a built-in Format function is<\/p>\n<pre style=\"font-size: 110%;\">Format (n, \u201cstyle argument\u201d)<\/pre>\n<p><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block; text-align: center;\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\" data-ad-client=\"ca-pub-3033628290023372\" data-ad-slot=\"3914691604\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><br \/>\nThe list of style arguments in Visual Basic 2013 is given in Table 19.1.<\/p>\n<h3 align=\"center\">Table 19.1<\/h3>\n<div style=\"overflow-x:auto;\">\n<table style=\"border: 1px solid black;\">\n<tbody>\n<tr>\n<th>Style argument<\/th>\n<th>Explanation<\/th>\n<th>Example<\/th>\n<\/tr>\n<tr>\n<td>General Number<\/td>\n<td>To display the number without having separators between thousands.<\/td>\n<td>Format(8972.234, &#8220;General Number&#8221;)=8972.234<\/td>\n<\/tr>\n<tr>\n<td>Fixed<\/td>\n<td>To display the number without having separators between thousands and rounds it up to two decimal places.<\/td>\n<td>Format(8972.2, &#8220;Fixed&#8221;)=8972.23<\/td>\n<\/tr>\n<tr>\n<td>Standard<\/td>\n<td>To display the number with separators or separators between thousands and rounds it up to two decimal places.<\/td>\n<td>Format(6648972.265, &#8220;Standard&#8221;)= 6,648,972.27<\/td>\n<\/tr>\n<tr>\n<td>Currency<\/td>\n<td>To display the number with the dollar sign in front has separators between thousands as well as rounding it up to two decimal places.<\/td>\n<td>Format(6648972.265, &#8220;Currency&#8221;)= $6,648,972.27<\/td>\n<\/tr>\n<tr>\n<td>Percent<\/td>\n<td>Converts the number to the percentage form and displays a % sign and rounds it up to two decimal places.<\/td>\n<td>Format(0.56324, &#8220;Percent&#8221;)=56.32 %<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><strong>Example 19.1<\/strong><\/p>\n<pre style=\"font-size: 110%;\">Private Sub BtnFormat_Click(sender As Object, e As EventArgs) Handles BtnFormat.Click\r\n Label1.Text = Format(8972.234, \"General Number\")\r\n Label2.Text = Format(8972.2, \"Fixed\")\r\n Label3.Text = Format(6648972.265, \"Standard\")\r\n Label4.Text = Format(6648972.265, \"Currency\")\r\n Label5.Text = Format(0.56324, \"Percent\")\r\nEnd Sub\r\n<\/pre>\n<p><strong>The Output<\/strong><\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figre19.1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4736\" src=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figre19.1.jpg\" alt=\"vb2013_figre19.1\" width=\"310\" height=\"320\" \/><\/a><strong>Figure 19.1<\/strong><\/p>\n<h4><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block; text-align: center;\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\" data-ad-client=\"ca-pub-3033628290023372\" data-ad-slot=\"3914691604\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><br \/>\n<strong>19.1(b) User-Defined Format<\/strong><\/h4>\n<p>The syntax of the user-defined Format function is<\/p>\n<pre style=\"font-size: 110%;\">Format (n, \u201cuser\u2019s format\u201d)<\/pre>\n<p>Although it is known as user-defined format, we still need to follows certain formatting styles. Examples of user-defined formatting style are listed in Table 19.2<\/p>\n<h3 align=\"center\">Table 19.2<\/h3>\n<div style=\"overflow-x:auto;\">\n<table>\n<tbody>\n<tr>\n<th>Format<\/th>\n<th>Description<\/th>\n<th>Output<\/th>\n<\/tr>\n<tr>\n<td>Format(781234.576,&#8221;0&#8243;)<\/td>\n<td>Rounds to whole number without separators between thousands<\/td>\n<td>\u00a0781235<\/td>\n<\/tr>\n<tr>\n<td>\u00a0Format(781234.576,&#8221;0.0&#8243;)<\/td>\n<td>Rounds to 1 decimal place without separators between thousands<\/td>\n<td>\u00a0781234.6<\/td>\n<\/tr>\n<tr>\n<td>\u00a0Format(781234.576,&#8221;0.00&#8243;)<\/td>\n<td>Rounds to 2 decimal place without separators between thousands<\/td>\n<td>\u00a0781234.58<\/td>\n<\/tr>\n<tr>\n<td>\u00a0\u00a0Format(781234.576,&#8221;#,##0.00&#8243;)<\/td>\n<td>Rounds to 2 decimal place with separators between thousands<\/td>\n<td>\u00a0781,234.58<\/td>\n<\/tr>\n<tr>\n<td>\u00a0Format(781234.576,&#8221;$#,##0.00&#8243;)<\/td>\n<td>Displays dollar sign and\u00a0Rounds to 2 decimal place with separators between thousands<\/td>\n<td>\u00a0$781,234.58<\/td>\n<\/tr>\n<tr>\n<td>\u00a0Format(0.576,&#8221;0%&#8221;)<\/td>\n<td>Converts to percentage form without decimal place<\/td>\n<td>\u00a058%<\/td>\n<\/tr>\n<tr>\n<td>\u00a0Format(0.5768,&#8221;0%&#8221;)<\/td>\n<td>Converts to percentage form with two decimal places<\/td>\n<td>\u00a057.68%<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><strong>Example 19.2<\/strong><\/p>\n<pre style=\"font-size: 110%;\">Private Sub BtnFormat_Click(sender As Object, e As EventArgs) Handles BtnFormat.Click\r\n Label1.Text = Format(8972.234, \"0.0\")\r\n Label2.Text = Format(8972.2345, \"0.00\")\r\n Label3.Text = Format(6648972.265, \"#,##0.00\")\r\n Label4.Text = Format(6648972.265, \"$#,##0.00\")\r\n Label5.Text = Format(0.56324, \"0%\")\r\nEnd Sub\r\n<\/pre>\n<p>The Output<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure19.2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4746\" src=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure19.2.jpg\" alt=\"vb2013_figure19.2\" width=\"300\" height=\"300\" \/><\/a><strong>Figure 19.2<\/strong><\/p>\n<p><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block; text-align: center;\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\" data-ad-client=\"ca-pub-3033628290023372\" data-ad-slot=\"3914691604\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n<h3 style=\"text-align: left;\">19.2 Formatting Date and Time<\/h3>\n<p>There are two types of Format functions for Date and time one of them is the built-in or predefined format while another one can be defined by the user.<\/p>\n<h4><strong>19.2(a) Formatting Date and time using predefined formats\u00a0<\/strong><\/h4>\n<p>In Visual Basic 2013, we can format date and time using predefined formats or user-defined formats. The predefined formats of date and time are shown in Table 19.3<\/p>\n<h4 align=\"center\">Table 19.3<\/h4>\n<table>\n<tbody>\n<tr>\n<th>\u00a0Format<\/th>\n<th>\u00a0description<\/th>\n<\/tr>\n<tr>\n<td>Format(Now, &#8220;General Date&#8221;)<\/td>\n<td>Displays current date and time<\/td>\n<\/tr>\n<tr>\n<td>Format(Now, &#8220;Long Date&#8221;)<\/td>\n<td>Displays current date in long format<\/td>\n<\/tr>\n<tr>\n<td>Format (Now, \u201cShort date\u201d)<\/td>\n<td>Displays current date in short format<\/td>\n<\/tr>\n<tr>\n<td>Format (Now, \u201cLong Time\u201d)<\/td>\n<td>Displays current time in long format.<\/td>\n<\/tr>\n<tr>\n<td>Format (Now, \u201cShort Time\u201d)<\/td>\n<td>Displays current time in short format.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u00a0Example 19.3<\/strong><\/p>\n<pre style=\"font-size: 110%;\">Private Sub BtnDisplay_Click(sender As Object, e As EventArgs) Handles BtnDisplay.Click\r\n Label1.Text = Format(Now, \"General Date\")\r\n  Label2.Text = Format(Now, \"Long Date\")\r\nLabel3.Text = Format(Now, \"short Date\")\r\n Label4.Text = Format(Now, \"Long Time\") Label5.Text = Format(Now, \"Short Time\")\r\nEnd Sub\r\n<\/pre>\n<p>The output<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure19.3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4751\" src=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure19.3.jpg\" alt=\"vb2013_figure19.3\" width=\"300\" height=\"300\" \/><\/a><strong>Figure 19.3<\/strong><\/p>\n<p>You can display dates and time in real-time using a timer and set its property Enabled to true and interval 100. The code is as follows:<\/p>\n<pre style=\"font-size: 110%;\">Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick\r\n Label1.Text = Format(Now, \"General Date\")\r\n Label2.Text = Format(Now, \"Long Date\")\r\n Label3.Text = Format(Now, \"short Date\")\r\n Label4.Text = Format(Now, \"Long Time\")\r\n Label5.Text = Format(Now, \"Short Time\")\r\nEnd Sub\r\n<\/pre>\n<p><b>19.2(b) Formatting Date and time using user-defined formats<\/b><\/p>\n<p>Besides using the predefined formats, you can also use the user-defined formatting functions. The syntax of a user-defined format \u00a0for date and time is <strong>\u00a0\u00a0\u00a0\u00a0\u00a0<\/strong><\/p>\n<p><strong>\u00a0 Format (expression,style)<\/strong><\/p>\n<h4 align=\"center\">Table 19.4<\/h4>\n<table>\n<tbody>\n<tr>\n<th>Format<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td>Format (Now, \u201cm\u201d)<\/td>\n<td>Displays current month and date<\/td>\n<\/tr>\n<tr>\n<td>Format (Now, \u201cmm\u201d)<\/td>\n<td>Displays current month in double digits.<\/td>\n<\/tr>\n<tr>\n<td>Format (Now, \u201cmmm\u201d)<\/td>\n<td>Displays abbreviated name of the current month<\/td>\n<\/tr>\n<tr>\n<td>Format (Now, \u201cmmmm\u201d)<\/td>\n<td>Displays full name of the current month.<\/td>\n<\/tr>\n<tr>\n<td>Format (Now, \u201cdd\/mm\/yyyy\u201d)<\/td>\n<td>Displays current date in the day\/month\/year format.<\/td>\n<\/tr>\n<tr>\n<td>Format (Now, &#8220;mmm,d,yyyy&#8221;)<\/td>\n<td>Displays current date in the Month, Day, Year Format<\/td>\n<\/tr>\n<tr>\n<td>Format (Now, &#8220;h:mm:ss tt&#8221;)<\/td>\n<td>Dispalys current time in hour:minute:second format and show am\/pm<\/td>\n<\/tr>\n<tr>\n<td>Format (Now, &#8220;MM\/dd\/yyyy h:mm:ss)<\/td>\n<td>Dispalys current date and time in hour:minute:second format<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Example 19.4<\/p>\n<pre style=\"font-size: 110%;\">Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick\r\n Label1.Text = Format(Now, \"m\")\r\n Label2.Text = Format(Now, \"mm\")\r\n Label3.Text = Format(Now, \"mmm\")\r\n Label4.Text = Format(Now, \"mmmm\")\r\n Label5.Text = Format(Now, \"dd\/mm\/yyyy\")\r\n Label6.Text = Format(Now, \"mmm,d,yyyy\")\r\n Label7.Text = Format(Now, \"h:mm:ss tt\")\r\n Label8.Text = Format(Now, \"MM\/dd\/yyyy h:mm:ss tt\")\r\nEnd Sub\r\n<\/pre>\n<p>The output <a href=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure19.4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4756\" src=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figure19.4.jpg\" alt=\"vb2013_figure19.4\" width=\"317\" height=\"300\" \/><\/a><\/p>\n<p style=\"text-align: center;\">\u00a0<strong>Figure 19.4<\/strong><\/p>\n<p><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block;\" data-ad-format=\"autorelaxed\" data-ad-client=\"ca-pub-3033628290023372\" data-ad-slot=\"2306771905\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n<h4 style=\"text-align: center;\"><a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-18-the-math-functions\/\">[Lesson 18]<\/a>\u00a0&lt;&lt;<a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-tutorial\/\">[Contents]<\/a>\u00a0&gt;&gt; <a href=\"http:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-20-using-check-box\/\">[Lesson 20]<\/a><\/h4>\n","protected":false},"excerpt":{"rendered":"<p>[Lesson 18] &lt;&lt;[Contents] &gt;&gt; [Lesson 20] The Format function is used to display numbers as well as date and time in various formats. 19.1 Format function for Numbers There are two types of Format functions, the built-in format function, and the user-defined function. 19.1(a) Built-in Format function for Numbers The syntax of a built-in Format &hellip; <a href=\"https:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-19-formatting-functions\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Visual Basic 2013 Lesson 19: The Format Function<\/span><\/a><\/p>\n","protected":false},"author":23013,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-11859","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Visual Basic 2013 Lesson 19: The Format Function - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB<\/title>\n<meta name=\"description\" content=\"Visual Basic Tutorial\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson19.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Visual Basic 2013 Lesson 19: The Format Function - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\" \/>\n<meta property=\"og:description\" content=\"Visual Basic Tutorial\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson19.html\" \/>\n<meta property=\"og:site_name\" content=\"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Vbtutor\" \/>\n<meta property=\"article:modified_time\" content=\"2018-06-24T08:51:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figre19.1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"310\" \/>\n\t<meta property=\"og:image:height\" content=\"320\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@liewvk\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-19-formatting-functions\/\",\"url\":\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson19.html\",\"name\":\"Visual Basic 2013 Lesson 19: The Format Function - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\",\"isPartOf\":{\"@id\":\"https:\/\/www.vbtutor.net\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson19.html#primaryimage\"},\"image\":{\"@id\":\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson19.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figre19.1.jpg\",\"datePublished\":\"2017-10-11T23:48:48+00:00\",\"dateModified\":\"2018-06-24T08:51:42+00:00\",\"description\":\"Visual Basic Tutorial\",\"breadcrumb\":{\"@id\":\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson19.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson19.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson19.html#primaryimage\",\"url\":\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figre19.1.jpg\",\"contentUrl\":\"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figre19.1.jpg\",\"width\":310,\"height\":320},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson19.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.vbtutor.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Visual Basic 2013 Lesson 19: The Format Function\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.vbtutor.net\/#website\",\"url\":\"https:\/\/www.vbtutor.net\/\",\"name\":\"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB\",\"description\":\"Start learning Visual Basic from beginner to advanced. Includes VB.NET, VBA, and classic VB tutorials for students and professionals.\",\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Visual Basic 2013 Lesson 19: The Format Function - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","description":"Visual Basic Tutorial","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson19.html","og_locale":"en_US","og_type":"article","og_title":"Visual Basic 2013 Lesson 19: The Format Function - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","og_description":"Visual Basic Tutorial","og_url":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson19.html","og_site_name":"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","article_publisher":"https:\/\/www.facebook.com\/Vbtutor","article_modified_time":"2018-06-24T08:51:42+00:00","og_image":[{"width":310,"height":320,"url":"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figre19.1.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@liewvk","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vbtutor.net\/index.php\/visual-basic-2013-lesson-19-formatting-functions\/","url":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson19.html","name":"Visual Basic 2013 Lesson 19: The Format Function - Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","isPartOf":{"@id":"https:\/\/www.vbtutor.net\/#website"},"primaryImageOfPage":{"@id":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson19.html#primaryimage"},"image":{"@id":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson19.html#primaryimage"},"thumbnailUrl":"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figre19.1.jpg","datePublished":"2017-10-11T23:48:48+00:00","dateModified":"2018-06-24T08:51:42+00:00","description":"Visual Basic Tutorial","breadcrumb":{"@id":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson19.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson19.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson19.html#primaryimage","url":"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figre19.1.jpg","contentUrl":"https:\/\/www.vbtutor.net\/wordpress\/wp-content\/uploads\/2014\/01\/vb2013_figre19.1.jpg","width":310,"height":320},{"@type":"BreadcrumbList","@id":"http:\/\/www.vbtutor.net\/vb2013\/vb2013_lesson19.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vbtutor.net\/"},{"@type":"ListItem","position":2,"name":"Visual Basic 2013 Lesson 19: The Format Function"}]},{"@type":"WebSite","@id":"https:\/\/www.vbtutor.net\/#website","url":"https:\/\/www.vbtutor.net\/","name":"Learn Visual Basic Programming \u2013 VB.NET, VBA &amp; Classic VB","description":"Start learning Visual Basic from beginner to advanced. Includes VB.NET, VBA, and classic VB tutorials for students and professionals.","inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages\/11859","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/users\/23013"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/comments?post=11859"}],"version-history":[{"count":9,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages\/11859\/revisions"}],"predecessor-version":[{"id":13073,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/pages\/11859\/revisions\/13073"}],"wp:attachment":[{"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/media?parent=11859"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/categories?post=11859"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vbtutor.net\/index.php\/wp-json\/wp\/v2\/tags?post=11859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}