uawdijnntqw1x1x1
IP : 216.73.216.93
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
sigmaerp.codeskitter.site
/
app
/
Traits
/
FormatTime.php
/
/
<?php namespace App\Traits; use Carbon\Carbon; trait FormatTime { /** * Format the given time input to H-m-s format. * * @param string $dateTimeInput * @return string|null */ protected function toSystemTimeFormat($dateTimeInput) { if(!$dateTimeInput){ return null; } $time = Carbon::parse($dateTimeInput); return $time->format('H:i:s'); } /** * User Time Format: * Convert DateTime to User Assigned Time Format * @return null or string * */ public function toUserTimeFormat($dateTimeInput) { if(!$dateTimeInput){ return null; } try { $time = Carbon::parse($dateTimeInput); return app('company')['time_format'] == 24 ? $time->format('H:i:s') : $time->format('h:i:s A'); } catch (\Exception $e) { // } return null; } }
/home/users/unlimited/www/sigmaerp.codeskitter.site/app/Traits/FormatTime.php