In this article you will learn how to use DATE() function of Visual Foxpro. This is part of series and online training of visual foxpro (VFP).
Visual FoxPro Date() Function
Visual Foxpro online training of Date Function |
What is Date() function ?
Returns the current system date or Create user define date. (2000-compliant Date value).
Get Current System Date
?Date()
(In command window type above command you will get current system date.)
05/07/20
Create User Define Date
?Date(nYear, nMonth, nDay)
(n = Numeric value)
?Date(2019, 12,25 )
OUTPUT:
12/25/19
CENTURY ON & BRITISH DATE FORMAT
Set Century On
Set Date British
?Date()
?Date(2019, 12,25 )
OUTPUT:
07/05/2020
25/12/2019
VFP Online Training of Date Function - Demo 1 |
VFP Online Training of Date Function - Demo 2 |
VFP Online Training of Date Function - Demo 3 |
Happy Learning and Coding. . . .
Contact for Visual Foxpro, Visual Basic, Asp.Net MVC, Asp.Net CORE, C#, Java, JavaScript, jQuery, PHP MySQL Online Training.
My Google Business Site
My Site
No comments:
Post a Comment
Please, Write your valuable comments..