Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Martin Sellwood
  Where is Martin Sellwood?
 Maidstone, Kent
 United Kingdom
 Martin Sellwood
 To: mk sharma
  Where is mk sharma?
 mk sharma
Subject: RE: date like MM/YYYY
Thread ID: 104249 Message ID: 104250 # Views: 3 # Ratings: 0
Version: Visual FoxPro 9 Category: Forms
Date: Monday, August 14, 2006 10:05:19 AM         

> i want to add a date like MM/YYYY
> i required this for expiry date of medician.
> warm regards,
> mk.

set date british         && set date format to dd/mm/yy
set century on           && turn on century digits
? right(dtoc(date()),7)  && display the 7 rightmost chars of a date string


date like MM/YYYY Posted by mk sharma @ 8/14/2006 10:03:25 AM
RE: date like MM/YYYY Posted by Martin Sellwood @ 8/14/2006 10:05:19 AM
RE: date like MM/YYYY Posted by Borislav Borissov @ 8/14/2006 10:10:03 AM
RE: date like MM/YYYY Posted by Ken Murphy @ 8/16/2006 2:48:37 PM