Tag

format

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

INFORMATION_SCHEMA.TABLES

  • 00 0000
  • 211
  • mssql,microsoft,information_schema

OverviewThe INFORMATION_SCHEMA.TABLES view allows you to get information about all tables and views within a database. By default it will show you this information for every single table and view that is in the database. ExplanationThis view can be called from any of the databases in an instance of SQL Server and will return the results for the data within that particular Read more


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


Drive Info

  • 11 January 2014
  • 185
  • drive,hdd,information

Imports System.IO Imports System.Net Imports System.Text Public Class SimpleFTPClient Public Function Download(ByVal destinationFile As String, ByVal downloadUri As Uri) As FtpStatusCode Try ' Check if the URI is and FTP site If Not (downloadUri.Scheme = Uri.UriSchemeFtp) Then Throw New ArgumentException("URI is not an FTp site") Read more


Get System Information Resource

  • 16 January 2014
  • 188
  • system,information

unit main; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Memo1: TMemo; Button1: TButton; Label1: TLabel; procedure Button1Click(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.DFM} procedure Read more


Curreny Number Format

  • 16 January 2014
  • 230
  • money,currency,format

if you type 12345, it will be 12,345 unit u_main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, ExtCtrls,ShellApi; type Tf_main = class(TForm) Edit1: TEdit; Label1: TLabel; Timer1: TTimer; procedure Edit1KeyUp(Sender: TObject; var Key: Word; Shift: TShiftState); Read more


Change Number To Rupiah Format (Indonesian Currency)

  • 28 April 2014
  • 626
  • rupiah,currency format,money

Example Number is 1234567, ti will be change to Rp. 1.234.567,00 syntax : function ChangeToRupiah(angka){ var rev = parseInt(angka, 10).toString().split("").reverse().join(""); var rev2 = ""; for(var i = 0; i < rev.length; i++){ rev2 += rev[i]; if((i + 1) % 3 === 0 && i !== (rev.length - 1)){ rev2 += "."; } } return "Rp. " Read more




Category