Format: application/octet-stream
⬇ Download File (1.8 KB)
   1  {
   2   "cells": [
   3    {
   4     "cell_type": "code",
   5     "execution_count": 1,
   6     "id": "30e8cb41",
   7     "metadata": {},
   8     "outputs": [],
   9     "source": [
  10      "import base64"
  11     ]
  12    },
  13    {
  14     "cell_type": "code",
  15     "execution_count": 1,
  16     "id": "3d85c243",
  17     "metadata": {},
  18     "outputs": [],
  19     "source": [
  20      "import datetime"
  21     ]
  22    },
  23    {
  24     "cell_type": "markdown",
  25     "id": "81dc737e",
  26     "metadata": {},
  27     "source": []
  28    },
  29    {
  30     "cell_type": "code",
  31     "execution_count": 3,
  32     "id": "dfe86822",
  33     "metadata": {},
  34     "outputs": [],
  35     "source": [
  36      "t=datetime.datetime.now()"
  37     ]
  38    },
  39    {
  40     "cell_type": "code",
  41     "execution_count": 4,
  42     "id": "5c2dc151",
  43     "metadata": {},
  44     "outputs": [
  45      {
  46       "data": {
  47        "text/plain": [
  48         "datetime.datetime(2021, 10, 13, 9, 26, 26, 249028)"
  49        ]
  50       },
  51       "execution_count": 4,
  52       "metadata": {},
  53       "output_type": "execute_result"
  54      }
  55     ],
  56     "source": [
  57      "t"
  58     ]
  59    },
  60    {
  61     "cell_type": "code",
  62     "execution_count": 6,
  63     "id": "a4bd2527",
  64     "metadata": {},
  65     "outputs": [
  66      {
  67       "data": {
  68        "text/plain": [
  69         "datetime.date(2021, 10, 13)"
  70        ]
  71       },
  72       "execution_count": 6,
  73       "metadata": {},
  74       "output_type": "execute_result"
  75      }
  76     ],
  77     "source": [
  78      "t.date()"
  79     ]
  80    },
  81    {
  82     "cell_type": "code",
  83     "execution_count": null,
  84     "id": "299c0fdc",
  85     "metadata": {},
  86     "outputs": [],
  87     "source": []
  88    }
  89   ],
  90   "metadata": {
  91    "kernelspec": {
  92     "display_name": "Python 3",
  93     "language": "python",
  94     "name": "python3"
  95    },
  96    "language_info": {
  97     "codemirror_mode": {
  98      "name": "ipython",
  99      "version": 3
 100     },
 101     "file_extension": ".py",
 102     "mimetype": "text/x-python",
 103     "name": "python",
 104     "nbconvert_exporter": "python",
 105     "pygments_lexer": "ipython3",
 106     "version": "3.8.8"
 107    }
 108   },
 109   "nbformat": 4,
 110   "nbformat_minor": 5
 111  }
 112