# TimeStamp microservice - Can you help me? - SOLVED

**URL:** <https://forum.freecodecamp.org/t/timestamp-microservice-can-you-help-me-solved/46491>\
**Category:** General\
**Created:** [October 18, 2016, 3:44am UTC](https://forum.freecodecamp.org/t/timestamp-microservice-can-you-help-me-solved/46491 "2016-10-18T03:44:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdventureBear](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/adventurebear/32/74786_2.png) [@AdventureBear](https://forum.freecodecamp.org/u/AdventureBear)\
**Post date:** [October 18, 2016, 3:44am UTC](https://forum.freecodecamp.org/t/timestamp-microservice-can-you-help-me-solved/46491/1 "2016-10-18T03:44:22Z")

</div>

I’m having a lot of trouble getting my timestamp microservice working!

I feel like i “understand” what I need to do and it’s just not working…like shoving a square peg into a round hole!

here is my github repository

> **[AdventureBear/timestamp](https://github.com/AdventureBear/timestamp)**
>
> timestamp - Free Code Camp TimeStamp API

I’m trying to implement moment.js to create a valid date object. I am able to pull in the parameter just fine, but not convert it to a date…and from there I can’t really do much. Any input to help me sort it out?

---

<div class="post-metadata">

**Author:** ![PortableStick](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/portablestick/32/65591_2.png) [@PortableStick](https://forum.freecodecamp.org/u/PortableStick)\
**Post date:** [October 18, 2016, 1:34pm UTC](https://forum.freecodecamp.org/t/timestamp-microservice-can-you-help-me-solved/46491/2 "2016-10-18T13:34:04Z")

</div>

```auto
var m = moment("input");

```

Drop the quotes around `input` and see if that helps things.

```auto
var m = moment(input);

```

---

<div class="post-metadata">

**Author:** ![AdventureBear](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/adventurebear/32/74786_2.png) [@AdventureBear](https://forum.freecodecamp.org/u/AdventureBear)\
**Post date:** [October 18, 2016, 10:20pm UTC](https://forum.freecodecamp.org/t/timestamp-microservice-can-you-help-me-solved/46491/3 "2016-10-18T22:20:48Z")

</div>

Thanks, that was one of the issues for sure! Appreciate your help.

---

<div class="post-metadata">

**Author:** ![jwilkins.oboe](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jwilkins.oboe/32/179497_2.png) [@jwilkins.oboe](https://forum.freecodecamp.org/u/jwilkins.oboe)\
**Post date:** [January 16, 2021, 5:30am UTC](https://forum.freecodecamp.org/t/timestamp-microservice-can-you-help-me-solved/46491/4 "2021-01-16T05:30:41Z")

</div>

Closed on January 16, 2021, 5:30am UTC


