you can use date() function to get the date of llv(c,30) occurs.
obv() is calculated by metastock from the date the data is loaded. so your question is a bit confusing. please explain a little more about what you are looking for. that might help in building what you are looking for.