[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 269
  • Last Modified:

Vb.Net Date complete format

how can I display the date in the follwoing format in VB.Net

dd/mm/yyyy, Saturday



0
shieldguy
Asked:
shieldguy
1 Solution
 
dctuckCommented:
Dim dateString As String
dateString = DateTime.Now().ToShortDateString() + ", " + DateTime.Now().DayOfWeek().ToString()
0
 
gbzhhuCommented:
       MessageBox.Show(Date.Now.ToString("dd/MM/yyyy, ") + Date.Now.DayOfWeek.ToString())
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

Tackle projects and never again get stuck behind a technical roadblock.
Join Now