Take a quadratic regression of time as a function of bitcoin’s daily closing price since July 7, 2010 (Mt Gox and Bitstamp concatenated):

Time is not a function of the price in the mathematical sense of "function", since there are multiple possible values of time for a given price (whenever the same price occurred at two or more different times).
I merited you for the effort anyway, but I think you can do better.
Okay, bro.