Harry Potter is not the only one who can use an invisibility cloak to get around Hogwarts. Well, sort of.

Purdue University researchers have invented a cloak that reportedly uses time to make objects disappear.

"A lot of people have seen the invisibility cloak in the Harry Potter movies," told Purdue professor Andrew M. Weiner to ABC News. "In scientific research terms that is a spatial cloak. What we've done involves time cloaking."

Ph.D candidate John Lukens co-published his findings in the June issue of Nature, which was published online last Wednesday. According to reports, Lukens' method creates moments in time where objects can go undetected.

"Time cloaking is relatively new. It's based on the idea that there are places in time where if something were to happen it wouldn't be picked up, so no one can tell that it has occurred," told Lukens' to ABC News. "Say you have a light beam, speed up the front half and slow down the back half, and you create a place where the light beam splits apart. There is no light intensity there."

Lukens' findings have reportedly granted him the ability to only cloak small electrical signals.

"But in the future it would be interesting to see if we can create cloaks that use both space and time. These space-time cloaks would allow us to create entire spaces where things can go undetected. For example, we could cloak an entire room and whatever is in it," Lukens said.

Lukens is not far off when he states research can lead them to be able to hide larger objects.

John Howell and Benjamin Howell, researchers at the University of Rochester, have demonstrated an "invisibility cloak" that can hide objects of any size.

John and Benjamin's method uses conventional lenses and mirrors that steer light around the region of space they want to hide, making it the cloaks "simple to build and easy to scale," according to MIT Technology Review. The researchers believe their findings will help them eventually hide a human or even an orbiting satellites.

The idea of using mirrors to hide objects is not a new one. Magicians have used the concept of their mirror cloak for years, but not what the University of Rochester researchers wish to focus on.

"The point we wish to emphasize is not the novelty but the ease of scaling to nearly arbitrary size," the researchers told MIT Technology Review.

Scientists are closer to perfecting the concept of an invisibility cloak, but still have a long ways to go.

"As a dreamer I hope that can be a possibility, but I'm not making any promises," Lukens said.

See the video below for a demonstration of John and Benjamin Howell's cloak concept.