Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing year in date field
Message
 
To
06/01/2017 06:07:28
Thomas Ganss (Online)
Main Trend
Frankfurt, Germany
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01646327
Message ID:
01646332
Views:
54
>>>I have a table with a field called date - the year is 2016 on all records - how do I change it to 2015 on all records
>>>
>>>A simple question - I have forgotten how to do this
>>
>>replace all date with gomonth(date, -12)
>
>2016 was a leap year... I'd do manual check on existance of Feb 29 ;-)

Thanks
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Previous
Reply
Map
View

Click here to load this message in the networking platform