Timezone & moment js

Hello guys,

I m belongs to laravel background what i m looking to implement is timezone for the application to south africa and want to use timestamp function inside controller to match some conditions ,how can i achieve it .

example like in php i m using the timestamp value of db table column to compare with time() function of php that’s why i need to implement in adonis controller and react front end.please suggest way to achieve it.