Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Re: Date
Miscellaneous
Thread ID:
00655873
Message ID:
00658535
Views:
16
>Hi All:
> I have a datetime field and I want to change the year to 2002. How can I accomplish this?
> I.E. 05/25/2001 5:25:23P.M. needs to be 05/25/2002 5:25:23 P.M.
>Thanks
NewDateTime = GOMONTH(OldDateTime,12)
That should work fairly easily.
Previous
Reply
Map
View

Click here to load this message in the networking platform