39
linuxxx
5y

That moment that you come across a domain name which you thought would have definitely been taken already.

Came across strtoti.me. (php function for converting date/time strings into unix epoch's). Quickly wrote an api for it and put it online because fuck it, why not!

Feel free to use it as much as you want, I can't guarantee its availability unless it would become really popular but I can't imagine that.

URL: https://strtoti.me
API example: https://strtoti.me//... 20 20:15
API example (url encoded): https://strtoti.me//...

API documentation (not that good yet, might improve it..): https://strtoti.me

Well, let's see how this goes. Feedback appreciated but I currently have a shitload of projects to it doesn't have the highest priority right now!

Comments
  • 3
    Trying hard, but can’t think of apropriate comment...πŸ€”β˜οΈπŸ˜ΆπŸ‘πŸ˜
  • 6
    🀨 I'm not sure if this is worth while but congrats on finding the domain.

    {
    "status": "success",
    "message": "here is your epoch/unix timestamp",
    "epoch": 1565150700
    }

    Seems to work, but do I utilise an API over strtotime() πŸ€”
  • 1
    Sry, but can you provide a usecase for this api? Why shouldn't I use PHPs built-in strtotime? πŸ˜…
  • 10
    @Wombat because you want to use @linuxxx's strtotime() instead.
  • 7
    @Wombat belive me I can’t think of any real usecase but if I’d have found such domain I would do exactly the same thing as @linuxxx - because why not? 🀷‍♂️
  • 2
    Don't all these special domains cost a lot of money?
  • 1
    But. But why?
  • 2
    That moment when everyone starts using your API instead of the function itself.
  • 2
    https://strtoti.me//...
    { "status": "error", "message": "the given datetime data is invalid" }
  • 2
    @billgates .me domains are one of the cheapest domains.
  • 0
    @PrivateGER the cheapest i get is the .de domain.
  • 1
    .de isn't really cheap. Practically free are tk or biz.
Add Comment