ArcGIS Online stores all date values in UTC. A short snippet to convert UTC timestamp to DateTime using Python.
from datetime import datetime
utcTimeStamp = 1472218452855
date = datetime.fromtimestamp(utcTimeStamp / 1e3)
print(date)
output: 2016-08-26 09:34:12.855000
Wednesday, April 11, 2018
Thursday, April 5, 2018
Override Default Location of Jupyter Notebook file
This post is continue of ArcGIS Pro, Conda, Jupyter Setup post. The default location of Jupter Notebook IronPython (*.ipynb) file is C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3 -
import os
print (os.getcwd())
import os
print (os.getcwd())
To change the default location of Jypyter notebook script file(*ipynb) you need to configure jupyter_notebook_config.py
Tuesday, April 3, 2018
ArcGIS Pro, Conda, Jupyter, and ArcGIS for Python setup
A. Download and install
the ArcGIS pro as described http://pro.arcgis.com/en/pro-app/get-started/install-and-sign-in-to-arcgis-pro.htm
B. Installation of Jupyter and ArcGIS for Python API can be done in two ways.
1.
Using ArcGIS
Pro’s Python Package Manager Graphical User Interface ( uses Conda under the
hood)
2.
Using Conda via Python Command Prompt
ii. Select packages you would like to install
Subscribe to:
Posts
(
Atom
)