06-25-2007, 06:42 AM
1. When you have variable of DATE type, you can use it with str.time() as first argument.
DATE d
...
t.time(d "%Y%m%d")
2. Don't remember which is which. Remove code that is not using the control id that you need (eg 3).
3. Make the string to look like a standard date string (ie with / or ., depending on locale), and assign to a DATE variable (=). Then use str.time().
DATE d
...
t.time(d "%Y%m%d")
2. Don't remember which is which. Remove code that is not using the control id that you need (eg 3).
3. Make the string to look like a standard date string (ie with / or ., depending on locale), and assign to a DATE variable (=). Then use str.time().
