Convertir fecha UTC en Local con Javascript

Fecha UTC (Que recibimos, por ejemplo, desde base de datos) var receivedDate = "2016-09-25T10:00:00"; Convertir a fecha Local receivedDate = new Date(receivedDate); //receivedDate: "Thu Sep 25 2016 12:00:00 GMT+0200 (Central Europe Daylight Time)" Al crear una fecha con el string UTC que recibimos automáticamente la creará con nuestro time zone local. En este ejemplo, la fecha UTC …

Sigue leyendo Convertir fecha UTC en Local con Javascript

Recuperar ficheros .package en Visual Studio con TFS (9 Pasos)

Si tenemos nuestro código en Visual Studio utilizando TFS puede ocurrir lo siguiente: De repente he perdido el fichero "Package.package" de mi proyecto, pero si entro en el TFS sigue estando. Solución: 1. Abrimos el Team Explorer en Visual Studio y conectamos con nuestro TFS. 2. Vamos a Source Control Explorer. 3. Navegamos hasta el …

Sigue leyendo Recuperar ficheros .package en Visual Studio con TFS (9 Pasos)

Start Local HTTP Server in MacOS X with One Simple Command

You can start a local web server to try your web site with one single command. Open Terminal, navigate to the folder that you want to use as a local server and type one of the following commands: To open with browser typing: http://localhost:8000 python -m SimpleHTTPServer If you don't want to write the port …

Sigue leyendo Start Local HTTP Server in MacOS X with One Simple Command