Tag

time

  • Total Source Code 3
  • Total Page : 1
  • You currently on page number : 1

convert minutes in a days / hours / minutes format

  • 20 December 2013
  • 242
  • delphi,format,date,time,hour,day,minutes,convert

Use this source code to convert minutes in a  days / hours / minutes format   function MinutesToDaysHoursMinutes(AMinutes: Integer): string; const HOURSPERDAY = 8; // tentukan / specify the current day job var Days: Integer; Hours: Integer; Minutes: Integer; begin if (AMinutes 0) then begin Hours := AMinutes div 60; Minutes := AMinutes mod 60; Days Read more


Create DB file at runtime

  • 20 December 2013
  • 245
  • delphi,runtime,database

dasdas   ads procedure TForm1.Button1Click(Sender: TObject); begin with Table1 do begin Active:=False; DatabaseName:=''DBDEMOS''; TableType:=ttParadox; TableName:=''NewTable''; with FieldDefs do begin Clear; Add(''Field1'',ftInteger,0,True); Add(''Field2'',ftString,30,False); end; with IndexDefs do begin Clear; Read more


Stopwatch Using VB

  • 11 January 2014
  • 197
  • stopwatch,time,timer

  source code Public Class Form1 Public Sub New() ' This call is required by the Windows Form Designer. InitializeComponent() ' Add any initialization after the InitializeComponent() call. LoadStaticInfo() m_stopWatch = New Stopwatch() LoadInstanceInfo() Me.Timer1.Enabled = True Me.Timer1.Interval = Read more




Category