after a couple days of slogging here is a solution, if anyone is interested.

Code:
void main()
{
	
	string Content = http_transfer("https://finance.yahoo.com/quote/AAPL",0);
	string s = strstr(strstr(Content," data-reactid="102">"),">");

	var EarningsDate = wdatef("%b %d, %Y",strtok(s+1,"<"));
		
	printf("n..%.0f....",EarningsDate);

	printf("n..%d....",ymd(EarningsDate));

	printf("n...done!");

}


Last edited by SBGuy; 07/12/18 21:47.