Thank you, Stella! Simple and ingenious solution and I was afraid that I'll end up writing complicated routine. This statement gives the desired date: PADL(YEAR(DATE())-1900, 3, "0")+PADL(DATE(YEAR(DATE()), MONTH(DATE()), DAY(DATE()))-DATE(YEAR(DATE()),1,1),3,"0")
108001 brakes down as following: 1 is for century, 08 is for the year and 001 is for the day of the year. Well, I guess this is not real Julian date, but often reffered as one. This site has some explanations: http://www.fs.fed.us/raws/book/julian.shtml
VFP provides Julian day functions, but I'm looking for something that would manipulate Julian dates. 108001 is a Julian date for 20080101. Hope that makes sense.
Greetings,
I'm trying to convert dates stored in grerogian calendar to julian calendar; in other words I need 20080101 to become 108001. Did not see anything in VFP help besides julian day calculation, which is not exaclty what I need. Any advise is highly appreciated. Thank you in advance.
Seems to me that it is not a problem with defining and displaying the window, but rather with READ/Release window statements. Once new Browse window gets displayed ok, the execution does not stop on Read statemnt and keeps going ahead until Release Window is reached and window closes. Would you...
I've tried various combinations of Define, Browse and Activate with no luck. Actually, I got close once and Browse window was attached to the main one, but once code approached READ statement it just past by it making the screen just blink for a second. Is it possible I'm missing something in READ?
Hello everyone,
I'm trying to create a browse fields window attached to an existing parent window, but it would not work as expected. The parent window is a form with a few fields on the top and the bottom part suppose to hold the browse window. I would like to use browse to edit the data...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.