Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. insert time in oracle

insert time in oracle

Scheduled Pinned Locked Moved C#
databaseoracletutorialquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mjawadkhatri
    wrote on last edited by
    #1

    How to insert time in oracle database???

    K 1 Reply Last reply
    0
    • M mjawadkhatri

      How to insert time in oracle database???

      K Offline
      K Offline
      K0306
      wrote on last edited by
      #2

      Try this

      DateTime.Now.ToString("hhmmss");

      If you need AM/PM in time, then use

      DateTime.Now.ToString("hhmmsstt");

      and also try this link Datetime in Oracle[^]

      Regards, Karthik K...

      M 1 Reply Last reply
      0
      • K K0306

        Try this

        DateTime.Now.ToString("hhmmss");

        If you need AM/PM in time, then use

        DateTime.Now.ToString("hhmmsstt");

        and also try this link Datetime in Oracle[^]

        Regards, Karthik K...

        M Offline
        M Offline
        mjawadkhatri
        wrote on last edited by
        #3

        But How insert into database???

        B 1 Reply Last reply
        0
        • M mjawadkhatri

          But How insert into database???

          B Offline
          B Offline
          Baran M
          wrote on last edited by
          #4

          there is no specific question ! what did you try and post what you have done ? Do you need to insert time from c# ? Connect to the database and try what karthick has suggested.

          Education is not a way to escape poverty — it is a way of fighting it.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups