Skip to content

Instantly share code, notes, and snippets.

View arllan's full-sized avatar
🏠
Working from home

Arllan Pablo arllan

🏠
Working from home
  • Paulista
View GitHub Profile
@fabioars
fabioars / diffhoras.php
Created August 5, 2015 20:00
Diferença entre as horas PHP
<?php
date_default_timezone_set('America/Sao_Paulo');
$inicio = '12:26:47';
$fim = '14:41:58';
// Converte as duas datas para um objeto DateTime do PHP
// PARA O PHP 5.3 OU SUPERIOR
$inicio = DateTime::createFromFormat('H:i:s', $inicio);
@akulsr0
akulsr0 / RNUIAPP - Carousel.jsx
Created September 4, 2020 06:49
React Native UI App - Carousel