ibiubu Posted January 11, 2005 Posted January 11, 2005 I would like to have a script insert a date into a field, and have that date be the last day of the current month. So for example, if the script was run in January of 2005, it would insert 1/31/2005 into the field. Any ideas of how to do this? And conversly, is there a script that would insert a date that would represent the first day of the current month? Larry
-Queue- Posted January 11, 2005 Posted January 11, 2005 For 6 you need to make sure you're on a layout that contains the date field. Then use Lee's calc, but change Get to Status, for the last day of the month. For the first day of the month, use Date( Month(Status(CurrentDate)), 1, Year(Status(CurrentDate)) ).
Lee Smith Posted January 11, 2005 Posted January 11, 2005 Ah Sh*t, I missed the v6, in the post and even went through the effort to change Status to Get. Lee
Recommended Posts
This topic is 7253 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now